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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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...
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist-
Hi Nic!
Can you tell us more about how to do "multiple approval" with ScriptRunner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Let's say you have a flow that goes open -> approvals -> closed, but needs approval from someone in the blue team and red team.
You will need two flag fields (I usually set them up to record the current person who approves so I can report on it easily later, without digging through the history)
Two options:
1. With one approval status:
2. With two status
Have a workflow that goes open -> approval 1 -> approval 2 -> closed
You can see the second one needs more work, but it has a massive advantage over the first - you can see which issues are waiting for one approval or two without adding any fields to your searches.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.