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

Accepted Answer
0 votes

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
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,092 views 2 7
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