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 User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

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

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (12,138)