cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
edkovale
Microsoft
Microsoft

Setting AzureDevOps Swimlane for WorkItem or Updating the value

Hello,

 

I'm trying to create WorkItem in specific Swimlane in Azure DevOps.

It seems possible with Azure DevOps Rest API - as described here: https://stackoverflow.com/questions/58862961/azure-devops-rest-apis-for-swimlane

 

But Update WorkItem step does not understna those add operations or I'm using it wrong.

I'm using field "Other Fields".

Tried multiple different json values like:

{ "op": "add", "path": "/fields/WEF_6623ED31B8E04C778FB1129D3239B1A7_Kanban.Lane", "value": "Lane for product team" }

 

The answer is always - no field path found.
When I'm using System. Swimlane value - it responds with ReadOnly error.

1 REPLY 1
edkovale
Microsoft
Microsoft

I was able to solve this with WorkItem Update step as follows (column names and swimlane should be your own (aka paths) - from WorkItem properties on your board)

[{"op": "add", "path" : "/fields/WEF_02759435526B4C0896C6A3483D08CFFD_Kanban.Lane", "value":"On-Call"},{"op": "add", "path" : "/fields/WEF_02759435526B4C0896C6A3483D08CFFD_Kanban.Column", "value":"Queued"}]

 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,447)