cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IulianaIonita
Level: Power Up

Cannot update Azure DevOps work item for "Other Fields"

I have created a very simple flow that triggers when a Azure DevOps work item is modified. The Action is intended to update the same work item , to add in a Custom field Custom_A a computing a value from three different other fields: Custom_B x Custom_C x Custom_D. 

 

To update "Other Fields" there is a Key and a value to define:

Key = dynamic value : set to field Custom_A

Value= Expression: mul(triggerBody()?['Fields']?['CustomB'], mul(triggerBody()?['Fields']?['Custom_C'],triggerBody()?['Fields']?['Custom_D']))

 

It does not work. I get back messages :

- Field Custom_A is not a field in process...

or  "10" (with 10 = value of  field Custom_A) is not a valid field

 

Am I using the "Other Fields"  wrongly or is it not working properly? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Cannot update Azure DevOps work item for "Other Fields"

Hi @IulianaIonita ,

 

I have tested on my side, you need to specify Project Name and Work Item Type first, the custom fields will be automatically displayed, and then you could configure accordingly.

36.PNG

Please also make sure to create custom field in the correct way, please refer to the relevant online doc:

https://docs.microsoft.com/en-us/azure/devops/organizations/settings/work/add-custom-field?view=azur...

 

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

7 REPLIES 7
Community Support Team
Community Support Team

Re: Cannot update Azure DevOps work item for "Other Fields"

Hi @IulianaIonita ,

 

I have tested on my side, you need to specify Project Name and Work Item Type first, the custom fields will be automatically displayed, and then you could configure accordingly.

36.PNG

Please also make sure to create custom field in the correct way, please refer to the relevant online doc:

https://docs.microsoft.com/en-us/azure/devops/organizations/settings/work/add-custom-field?view=azur...

 

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

IulianaIonita
Level: Power Up

Re: Cannot update Azure DevOps work item for "Other Fields"

The solutino provided is great, just what I was expecting to have in. Seeing that it work in a picture, gives me hope to have it working in my case too.

 

Unfortunatelly, it does not work just yet for me. The custom fields do not show up in the list, not even after choosing the project and work item type. The custom fields were created as described. I do not know if there is any other way to create fields, but as described ...

What could I be missing to get to select the custom fields? 

 

Capture.PNG

p4carr
Level: Power Up

Re: Cannot update Azure DevOps work item for "Other Fields"

Was there any resolve on this? I am facing the same issue.

Yash_Live
Level: Powered On

Re: Cannot update Azure DevOps work item for "Other Fields"

Not sure if you were able to find a solution, If not then here it is:

 

If your fields are not showing in the list, then type the exact name of the field in the "Enter Key" box besides 'Other Fields'.

For "Enter Value" you can choose a Dynamic field.

 

It worked for me.  

ChricasMSFT
Level: Power Up

Re: Cannot update Azure DevOps work item for "Other Fields"

Can you provide a sample screenshot and code on how you are passing the values and the settings in flow.  I've tried every combination of this and I'm getting no where!

Yash_Live
Level: Powered On

Re: Cannot update Azure DevOps work item for "Other Fields"

I am using the above screenshot as reference.

Marked th steps as 1 and 2 in the screenshot

 

1. Type the exact Name of the custom field as you see in your Azure WorkItem in teh "Enter Key" box (highlighted as 1 in red)

2. Select "Enter Value" box and either add dynamic or function based on your preference (highlighted as 2 in blue)

 

This works for me, share the screenshots (Azure workitem page and the flow) of what you are trying, may that way we can correct it. 

Yash_Live
Level: Powered On

Re: Cannot update Azure DevOps work item for "Other Fields"

Capture.JPG

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 53 members 3,339 guests
Please welcome our newest community members: