Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Extend Get-VSTeamPullRequest to return X PR's or All PR's #154

Closed
kilasuit opened this issue Apr 18, 2019 · 1 comment · Fixed by #243
Closed

[Feature] Extend Get-VSTeamPullRequest to return X PR's or All PR's #154

kilasuit opened this issue Apr 18, 2019 · 1 comment · Fixed by #243
Labels
enhancement Improvements that do not include new features

Comments

@kilasuit
Copy link

Ideally I would like to use PowerShell to get all PR's in a project in a single object that I can use for exporting history reasons.

Currently Get-VSTeamPullRequest will bring back only open PR's unless you provide an ID.

However it would be useful to do the following

Get-VSTeamPullRequest -All

or

Get-VSTeamPullRequest -Last 50
@kilasuit kilasuit changed the title [Feature] Return all PR's via a -All Switch [Feature] Extend Get-VSTeamPullRequest to return X PR's or All PR's Apr 18, 2019
@DarqueWarrior DarqueWarrior added the enhancement Improvements that do not include new features label Apr 23, 2019
@MichelZ
Copy link
Contributor

MichelZ commented Feb 20, 2020

Should be easy to do, there is a searchCriteria.status which can be set to all (defaullt: active)

Will take a stab at it tomorrow if I don‘t forget 🙄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements that do not include new features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants