Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Possible To Have Approval Transitions Be Conditional?

Tyler Rathbone January 24, 2025

We have an engineering approval process that essentially has approval tiers based on how much the idea costs.

Is there anyway to have an approval transition to the next approval status based on the value of a field? Ie. If a submitted ticket costs less than $500 it only needs 1 approval before going to execution, however if it costs more than $2000 it has 3 approval steps before going to execution

 

Is this something that can be done out of the box or will I just need to create intermediary statuses and apply automation to them?

2 answers

0 votes
Beata Lewandowska
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2025

Hi Tyler,
If you are open to using an app for approvals, many of them have conditions that you can apply for any approval (or even the approval step). In your case, I'd prepare an approval definition like this:

  1. A person (or a group) who always has to approve, no matter the field's value.
  2. A person (or a group) who approves only if the condition is met (field value >X).
  3. A person (or a group) who approves only if the condition is met (field value > X).

To show the solution on an example - here I created a custom field for budget (with ID = 10070), so the condition looks like this: 

image-20250130-131708.png

and the whole approval definition can be:

image-20250130-132244.png

I hope it helps ;) The app I'm using is Approval Path for Jira, which allows approvals not only for JSM (you can check it out here ).

0 votes
Mikael Sandberg
Community Champion
January 24, 2025

Yes, it is possible and you would do this using automation. Your workflow would have all approval statuses, and you can then use automation to bypass approval status based on the cost.

I created a similar approval workflow for our HR project for promotions and transfers. Based on what information not all 4 groups needed to approve, and I used automation to determine if a approval step should be bypassed or not.

Mikael Sandberg
Community Champion
January 24, 2025

You could do this based on a single approval status too. In that case the automation would figure out who should be added as approvers based on the cost, and then the approval step would have "all approvers need to approve" before the workflow moves the item to the next status.

Tyler Rathbone January 27, 2025

So do this create a status without an approval step, and create an automation to add the appropriate approval groups based on the cost?

Mikael Sandberg
Community Champion
January 27, 2025

No, the status would still have the approval step on it, and then you use the automation that add the users that should approve based on the cost.

Tim H_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2025

I used automation to determine if a approval step should be bypassed or not.

@Mikael Sandberg, can you show how you did this? Were you starting from one approval step when bypassing another? I'd like to automate an initial approval transition to be conditional on field values, but I can't figure out how to override the "Transition if approved" configured in my initial Approval.

Mikael Sandberg
Community Champion
February 16, 2025

Hi @Tim H_,

The way to do it is that the automation triggers on state transition, and in my case I checked if a specific approvers field was populated or not and if not then use the automation step that approves the transition. Unfortunately I cannot add a screenshot at the moment, so that is the best description I can give you. 

Like Tim H_ likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events