I have a simple forked (or nested) workflow with the ways to go. On the transition screen leading to this fork, I have a drop down menu. What I want is that if one option is selected, the corresponding transition will be automatically active. If not (the other 4 options), the second transition is active. Does this make sense? Open to any plugins too if it's not doable out of the box.
You can force a transition based on a custom field content using a post function. Depending on the plugins you already have installed this may require the purchase of an additional plugin to provide the ability to check a customfield content and then update the destination based on that content.
An alternative to the enforced transition is to build a custom validator which checks the chosen custom field value and confirms that the destination status is approved.
ScriptRunner4JIRA is one possible solution which also opens up several other conditions/ validators and post functions to you.
I'm a little confused though about forcing a transition based on custom field content. I absolutely understand post functions, just not sure how to do that. I have update on transition, create on transition, and the workflow toolkit, I just don't know how to do this specific thing. Could you please elaborate?
Oh wow, you said as much in the previous comment. Woops!
Just to be clear (this affects my answer),
You want to perform this "condition" check on a field set on the issue.
You want to perform this "condition" check on a field set on the transition screen during a transition.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs