When we create a pull request and link a work item, after the PR is completed the status of the work items are automatically changed to "invalid". How can we change that behavior to a different status?
How can I modify the state a work item is changed to after PR?
3.4k Views Asked by roberto tomás At
2
There are 2 best solutions below
2

The Set work item state in pull request feature is also works for custom states. Here is my sample:
Create a new pull request and add the Description like:
Ready for QA: #id
- Create pull request and complete the merge. Do not check "Complete linked work items after merging" option.
- Now, the status of my task has been updated to Ready for QA.
In addition, the product group is still improving this feature. If you have any concern or suggestions, you can share it in this suggestion ticket and this one.
In a recent update to Azure DevOps, you can now customize work item state when pull request is merged.