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.
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.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG