Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,214
Community Members
 
Community Events
185
Community Groups

Prevent transition of issue to 'in progress' when assignee has already X issues in 'in progress'

Hi,

 

i am pretty new to Jira automation an struggling finding a solution for this:

 

If an issue is transitioned into 'in progress' the automation should check if the user which is Assignee of the issue in transition has already X issues in 'in progress' and if this is a case, the transition should be canceled.

The reason is, that I want to prevent our developers to have too many tickets in progress.

I know that the is the Limit per status but this don't distinguish between users which means if the team size changes to need to adjust the WIP per status.

 

1 answer

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 22, 2022

So, this is an interesting one, because I can't work out how to do it either.

Generally though, I stick to "Automation is for making change that I don't want to have to bother with - get someone else to do the grunt-work - it needs doing, but I don't have to think about it"

Preventing transisitions definitely meets "I don't want to have to think about it", but it's not actually "doing stuff".

For controlling transitions, the usual route is using conditions or validators to check existing data and then telling people they're doing the wrong thing (validators do exactly that, conditions are a bit different - they look at the data and then hide the option to do the wrong thing)

Your nicest option here is a condition that just stops them even starting to do the wrong thing, but Automations don't do that.  I would be looking at apps that provide conditions (the off-the-shelf ones are pretty weak in my opinion).

However, if you're using a Kanban board, you can also do this with a work-in-progress limit.  It applies to the team, not the assignee, but the point of a board is that it is the team, so it might work for you (without any faffing around with apps)

James Navin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 27, 2022

@Nic Brough -Adaptavist- is correct.

Automation works by responding to events (such as issue transitions) and taking actions. It cannot prevent an issue transition from occurring. The best you would be able to do is reverse the transition, or flag the issue etc. after the transition had taken place.

As suggested, your best option is probably to look at workflow conditions or use the work-in-progress limit.

Cheers,

James

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events