Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

When a new task is started, unstart all tasks in progress

Riley Petersen
December 6, 2021

Hi,

My current workflow is TODO -> DOING -> DONE. The goal is to allow devs to only have one task in progress at a time. 

I am trying to create an automation that does the following:

- Dev starts a task A and it is transitioned from TODO to DOING

- Later, same dev starts task B and it is transitioned from TODO to DOING

- Automation transitions task A from DOING to TODO

I can make the general flow: When issue is transitioned, lookup issues where assignee is current user, transition results to TODO. 

Specifically, I am having a hard time with the JQL to search for relevant issues.

Any help is appreciated!

 

Thanks,

Riley

2 answers

0 votes
John Funk
Community Champion
December 13, 2021

Hi Riley - Welcome to the Atlassian Community!

I am curious as to what you are trying to accomplish? This is not standard practice for any methodology/framework you might be using. 

Riley Petersen
December 13, 2021

I'm trying to do the following: when a developer starts a task, all of their other in-progress tasks are automatically unstarted. I'd like to do this so that they only have one task in progress at a time. 

John Funk
Community Champion
December 14, 2021

This sounds like more of an education that needs to happen than a system solution. 

0 votes
Ollie Guan
Community Champion
December 6, 2021

Hi @Riley Petersen ,

Are you talking about WIP?

By restricting work-in-progress, it is regulated that any one person can only have one task in progress at the same time.

Riley Petersen
December 7, 2021

For me it appears to only set a maximum on that column/state, not on a per user basis (unless I'm missing something). Close enough for now. Thank you!

Like pedro_garcia likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events