I need to automate the branch pipeline to perform the following steps:
Check the status of a specific task ID. If the task ID is “closed,” reopen it and set its status to “active.” Proceed with the next stage in the pipeline deployment. Once the deployment is completed, close the task ID again.
How to accomplish this? Please suggest.
Using the gate and invoking the rest API ( Patch ) to update ( Active /Close) the work item
New contributor
Alok Ranjan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.