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

Unable to get dynamic values for DevOps work item

Hello, 

 

When iterating through a VSTS query, I would like to set some conditions that match the Title of the work item. I imported a work item from a coworker and the flow already has a condition that searches against Title. However, I am unable to see such an option when I browse the dynamic content section. I am able to copy and paste the dynamic content though. Any help would be appreciated. 

 

 

image.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @michawa ,

 

You could execute Flow once and then observe the name of the property contained in Body inside corresponding action.

25.PNG

Also observe peek code is now a better choice, as below:

24.PNG

 

Best Regards,

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

View solution in original post

6 REPLIES 6
Dual Super User II
Dual Super User II

Hi @michawa , 

 

You can get the fields in the dynamic content tab when you choose the action "Get Work Item Details" and not the "List Work Item" action  (or any other way that outputs a List of Work items in the form of an array. A workaround for that is to create an action to "Get work Item Details" in the apply to each control and get the details. Please refre to the screenshot below:azdeee.png

Hope this Helps!

 

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!

The list of work items I am getting is from the "Get Query Results" action, but I assume that your workaround should still work. However, what are you inputting for Work Item Id? I see that you are using a custom expression there to retrieve the id from the value. 

Hey!

 

Used this expression 

items('Apply_to_each')['System.Id']

Thanks.

Ok thanks! Is there a way I can browse the list of properties that I can accesss for a given item? (If I want to get Title but don't know that it is called System.Title)

Hi @michawa ,

 

You could execute Flow once and then observe the name of the property contained in Body inside corresponding action.

25.PNG

Also observe peek code is now a better choice, as below:

24.PNG

 

Best Regards,

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

View solution in original post

Anonymous
Not applicable

Hi @yashag2255 

 

When a new email arrives then work item will create in ADO

 

When I emailed "help.ado@tally.com" then the work item creates automatically.

If I replied to that email then again ticket is creating(It will be a duplicate). But my requirement is when I replied to that email then it should update it in the Work Item discussion or description. How do I achieve this?

I tried this https://powerusers.microsoft.com/t5/Using-Flows/When-a-new-email-arrives-then-work-item-will-create-.... scenario but no luck, could you please help me to achieve my requirement.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (57,619)