automatically set current iteration in azure devops on column change

980 views Asked by At

our team works in scrum and we recently implemented azure devops as out planning tool. As we like the view of the kanban board we'd like to integrate this with our iterations and keep both in sync.

Most of it can be achived using states, ok, obvious. But I'm wondering if I could set a rule for the work items that, if a certain status is set the @currentIteration prop is set to the iteration path field. Is this possible somehow? It seems I cannot select the iteration path field as an action target in work item rules.

1

There are 1 answers

0
Shamrai Aleksander On BEST ANSWER

Yes, you can not update the iteration path through work item rules. That`s maybe your custom app through rest API. You can:

  1. Find the current iteration: Iterations - Get
  2. Create wiql (like, find work items with Active state and iteration <> current): Query By Wiql
  3. Update work items: Work Items - Update