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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

158 views 5 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