Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Azure Devops - How to make the "Assigned To" dynamic



I am trying to execute a flow based on the trigger "When a work item is Assigned".   I would like to have this a dynamic one - based on assignment to any resource in the project - rather than specifically getting triggered for a specific resource.


Currently it is showing as a drop down listing the email ID of the team members and another 'Custom Value'..


Please let me know how to make this trigger for dynamic resource assignment.





Super User
Super User

Re: Azure Devops - How to make the "Assigned To" dynamic

The When a work item is assigned documentation states: 

Assigned To string
The name of the team member who currently owns the work item.
Key: wiql__System_AssignedTo

So you should be able to initialize a string-based variable called something like TeamEmails, and then passing that variable into the Assigned To. Very similar to something like this: InitializeStringVariable.png

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Level: Powered On

Re: Azure Devops - How to make the "Assigned To" dynamic

I have few queries.


1.  What should be the query that I should be using to get the EMAIL ID from the list?  Since we will be initiating this before the Work Item Assigned Trigger, do we need to query against the Settings - Teams to find all the members email ID??

2. What should be the conditions to check before that Trigger?  



Level: Power Up

Re: Azure Devops - How to make the "Assigned To" dynamic

Shocking from Microsoft again !! These apps are supposed to be for the non-technical people and if the person assigned to the item is "hidden" this is a big ballls-up !! 

Helpful resources


Power Automate Community User Group Member Badge

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


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,984)