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,458,061
Community Members
 
Community Events
176
Community Groups

How to configure my workflow approval step to go to different statuses based on a custom field value

Hello,

I have a workflow that 'branches' based on a custom field called "Approval Level".  I would like to use the approval step on a status that could go to 2 different statuses based on the Approval Level.  But I can't see how to set the approval step to honor the Approval Level custom field and go to the correct destination status when approved.

For instance,

  • If Approval Level = L1
    • My workflow goes from Awaiting Level1 Approval -> Awaiting Comp Agreement when Awaiting Level1 Approval is approved.
  • If Approval Level = L2
    • My workflow goes from Awaiting Level1 Approval -> Awaiting Level2 Approval when Awaiting Level1 Approval is approved.
    • Then, when Awaiting Level2 Approval is approved, my workflow goes to Awaiting Comp Agreement.

approval workflow for comp agreements.png

Is it possible to set up the approval steps to be dynamic?

approval workflow for comp agreements2.png

 

Any help would be greatly appreciated.  Thank you.

 

1 answer

1 accepted

1 vote
Answer accepted

Hi @Allison Stewart 

You can't do that unfortunately out of the box. You can only have one approve transition and one rejected.

Perhaps with ScriptRunner?

You could create your "own" approvals with custom field, but these will not use the jira built in approval system. I don't think that scriptrunner is capable of messing around with this functionality.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events