Hello,
I need help creating an automation rule that blocks a user to move a second issue to "in progress", if they already have one issue in progress.
Dear @Adriana Marquez ,
You can create an automation for this using Advanced compare condition. Please follow the below steps, Create a New Rule.
Issue transitioned
New condition
Advanced compare condition
assignee = currentUser() AND status = "In Progress" AND issuekey != "{{issue.key}}"
is greater than
0
Save
New action
Send email
Create comment
I achieved this as below.
JQL: assignee = currentUser() AND status = "In Progress" AND issuekey != "{{issue.key}}"
if this does not work for you then you need to go for scripting using script runner (Listener script). Also, you can add custom script workflow validator as well.
Worked well!
Thank you soo much 💥
Hi @Adriana Marquez
I respectfully suggest you are trying to fix a process / team behavior problem with an automation rule.
Instead consider: why are team members trying to move multiple issues into in-progress, when the team apparently has a working agreement / policy to only work on one item at a time?
Understanding the root cause by discussing it as a team may lead to better solutions than using Jira to send notifications...or to undo the issue transition. For example, some such causes could be:
Kind regards,Bill
Thanks for the concern.
We have it covered. There's no issue in my team. I just wanted to know how to do the automation to learn advanced rules and implement it in case it's needed.
It looks like you're new here. Sign in or register to get started.