I need to allow multiple managers to approve an issue at the same time

I have two managers that need to approve an issue to transition to the next step; I am able to get two radio buttons to display:

"Request blue team manager approval"

"Request red team manager approval"


However when I click one of the buttons the issue automatically transitions.  I'd like to make my issue stay in the same status until BOTH managers click their respective buttons.  Also, the ordering of who approves first is unimportant, rather, the ability for either manager to approve in any order as long as both of them have approved.  Having one approve, transition, then another approve is not a good workaround.

2 answers

1 vote

I don't think you can do it without either an intermediate status, or code that can execute extra transitions when certain conditions are met.


How do I code the transition to wait  until both buttons have been clicked? What language do I need for a development resource internally?

A bit of Java would do it, but there are off-the-shelf add-ons that can do auto-transition too - the one I'm familiar with is the Script Runner.

It can be done with a couple of flag fields and some clever conditions on workflow and no code, but that does need an intermediate status.

Steven Behnke Community Champion Mar 18, 2016

As Nic indicates, I would do this purely with Update Custom Field post-functions and Value Field conditions. Knowing that fields that are not on the edit screen cannot be edited manually...

You can do this in 4 transitions off the top of my head...

  • Approval Transition A is visible to manager A if Approval B is not checked and updates Approval A field to checked
  • Approval Transition B is visible to manager B if Approval A is not checked and updates Approval B field to checked
  • Approval Transition C is visible to manager B if Approval A is already checked, updates Approval B to checked, and transitions to next status
  • Approval Transition D is visible to manager A if Approval B is already checked, updates Approval A to checked, and transitions to next status

If you need more detail or workflow, many people use a similar method but with Sub-Tasks.


You could also perform this logic in Script Runner or other scripting add-ons.

Hello Experts,

I have the same requirement and I need it urgently.

Could you please guide me with code or any alternate solution or manipulation.

Please please please...........

Thanks in advance

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

400 views 6 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you