Workflow: Part of Workflow only used if condition matched

I am trying to create a workflow to buy items. there is a part of the workflow which is only needed if the product which will be bought is more expensive than lets say 20.000 USD. Is there a solution that jira automatically disables the part of the workflow if a custom field has a lower value? And ideally goes to the next step needed? I have the plugin for Jira Workflow extensions.

1 answer

1 accepted

0 votes
Accepted answer

The simple basic answer is "use a condition" - these block workflow actions unless conditions are met. The usual conditions are things like "the user trying to do this must be in Role X" or "the user trying to do this must be the assignee", but you can add others like "Field X must be < 20" or "Field X must be >= 20" - by pairing them up like that you can create two transitions that do two totally different things. In your case, you'd probably point them at two different end status (like if it's under 20$, go straight to "purchase approved", but if it's over, the other transition could go to "awaiting approval")

I think the misc-workflow extensions has a numerical condition in it. If not, then I think there's one in the Jira Suite utilities.

I will try that. thx!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,070 views 4 9
Read article

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