cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shashankpuli
Helper II
Helper II

How to update Azure work item - Test case > Test result

Hi Experts,

 

I would like to update my test case results via power automate > Update a work item[Azure Devops connection]. I don't see option to update test results. I can see only state, assigned to and someother fields  

 

Shashankpuli_0-1622213582381.png

 

Test Results are saving in Outcome field in Azure Devops . How to add that field in my connection. I tried entering Outcome in other fields as "Enter Key" and Passed as "Key Value" but no luck. Any suggestion ?  Thank you 

Shashankpuli_1-1622213773736.png

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @Shashankpuli,

 

As far as I am aware the outcome is not recorded against the test case itself but it is related to a test run.

 

Might be good to have a look at the Azure DevOps rest api for this:

https://docs.microsoft.com/en-us/rest/api/azure/devops/test/results/add?view=azure-devops-rest-6.0

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


View solution in original post

4 REPLIES 4
Expiscornovus
Super User
Super User

Hi @Shashankpuli,

 

As far as I am aware the outcome is not recorded against the test case itself but it is related to a test run.

 

Might be good to have a look at the Azure DevOps rest api for this:

https://docs.microsoft.com/en-us/rest/api/azure/devops/test/results/add?view=azure-devops-rest-6.0

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Thank you @Expiscornovus , this is very helpful. 

Hi @Shashankpuli , @Expiscornovus ,

How you passed the parameters in body to update the result outcome?

imranimzzy_0-1670264954992.png

 



 

 

Shashankpuli_0-1670272880490.png

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,396)