cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Microsoft
Microsoft

Re: Setting AzureDevOps Swimlane for WorkItem or Updating the value

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,580)