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

auto-complete does not set work items to be complete #168

Closed
flcdrg opened this issue Jul 12, 2018 · 3 comments
Closed

auto-complete does not set work items to be complete #168

flcdrg opened this issue Jul 12, 2018 · 3 comments

Comments

@flcdrg
Copy link

flcdrg commented Jul 12, 2018

For a repository with a branch policy that requires a work item be attached to the pull request, I would expect that if work items are supplied via --work-item then they would be completed.

git pr create --auto-complete --delete-source-branch --work-item 331 --open

However, the PR displays the following status:

Changes will be merged into master. Branch blahblahblah will be deleted. Work items will be unchanged.

If that's not the case, then do we need another command line option to indicate that should happen?

@tedchamb
Copy link
Contributor

tedchamb commented Jul 12, 2018

@flcdrg Thanks for pointing this out. Yes, we should definitely add that.

@tedchamb
Copy link
Contributor

Fixed in dev branch: #171

@tedchamb
Copy link
Contributor

The fix is now available in VSTS-CLI 0.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants