I'm trying to custom change the work item status after merging a PR. I've followed this guide #specify-the-workflow-state-of-linked-work-items but I cant manage it to work:
So It's supposed to change the Task state to "Pnte.D.Pre" but after accepting the merge, it is not changed. I've tried also bypassing PR restrictions to merge but it doesn't change:
First I thought that using that dot syntax on my states was the problem, but even changing it to Active does nothing. Here are all my states:
What is wrong with it?
I'm trying to custom change the work item status after merging a PR. I've followed this guide https://learn.microsoft/en-us/azure/devops/boards/work-items/auto-complete-work-items-pull-requests?view=azure-devops#specify-the-workflow-state-of-linked-work-items but I cant manage it to work:
So It's supposed to change the Task state to "Pnte.D.Pre" but after accepting the merge, it is not changed. I've tried also bypassing PR restrictions to merge but it doesn't change:
First I thought that using that dot syntax on my states was the problem, but even changing it to Active does nothing. Here are all my states:
What is wrong with it?
Share Improve this question asked Mar 13 at 13:34 Rubén MRubén M 1211 gold badge1 silver badge15 bronze badges1 Answer
Reset to default 1I`ve tested your case, and it works:
Can you check this setting on the repository?
Additionally, check mandatory fields in the target state.. if there are such fields, a pull request can not move a work item.