cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sid85
New Member

Azure Devops create flow - Trigger build complete, Action - update work item

Hi, I am wanting to update the state of all work items that are part of a release to a certain value, say 'testing' .

 

I found the following DevOps triggers in Microsoft flow - When a build completes, When code is pushed. But I was not able to find any trigger when a particular release is deployed ? Is there any such trigger ?

 

Also, lets say I want to use the trigger 'When a build completes', and I need to update all the work items that are linked to that build, how do I do that ? Because when I choose the action 'Update a work item', it asks me for the ID. But I want to get the ID from the build that was just completed. How can I specify that ?

2 REPLIES 2
Community Support
Community Support

Re: Azure Devops create flow - Trigger build complete, Action - update work item

Hi @sid85,

Unfortunately, there is only the trigger when a build completes in the Azure DevOps connector:

https://docs.microsoft.com/en-us/connectors/visualstudioteamservices/#when-a-build-completes

If you want to get the Build ID form trigger, you can get it from the dynamic content directly:Annotation 2019-11-13 112154.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

sid85
New Member

Re: Azure Devops create flow - Trigger build complete, Action - update work item

Thanks for the reply. Suppose if I want to get the work items associated with a build, how would I do that ? Because the 'found in' and 'integration build' fields are not being set for work items any more (due to the vNext system) , how would I get all the work items related to the build just completed  , and then how would I change their state ?

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,370)