cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow / VSTS trigger "OnWorkItemCreated" & "OnWorkItemClosed" do not work reliably

Hi there,

 

I'm trying to get the triggers  "When a work item is created" and "When a work item is closed" to work.

 

Item created works sometimes, item closed never worked so far. 

 

Did anybody figure out how to get them to work? Is the Template used in VSTS relevant? If the agile template is used for a project the last state of an work item is closed, if the scrum template is selected the last state is called done. Anyhow, the trigger "when a work item is closed" never respondes and never kicks off the following flow.

 

Any tipps and hints?

 

 

 

 

 

 

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Flow / VSTS trigger "OnWorkItemCreated" & "OnWorkItemClosed" do not wor

Hi @ Ramtamtam,

I have made a test on my side, if the agile template is used for a project, the issue that the trigger “When a work item is closed” would not work is  confirmed on my side.

I would post this issue to my product team. If the issue is solved, I would reply here.

 

I have made a test, the trigger “When a work item is created” always work well on my side, and the trigger “When a work item is closed” would work well when the scrum template is used for a project.

please check if you have set the Filter conditions of the trigger corresponds to the work item that you have created or closed when the trigger don’t work. In addition, please wait for a few times to see weather the trigger is work when you have created or closed the work item.

 

The flow that I have made to test the trigger “When a work item is closed” if the scrum template is used for a project as screenshots below:

 1.png

When a work item is closed, the flow would run successfully as below:

 2.png

 

 

Regards,
Alice Zhang

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

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