Hi All,
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.
Thanks Phill!
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It'd be easier if you told us what workflow add-ons you have, like Script Runner, JIRA Suite Utilities or Misc Workflow Extensions.
Classic JIRA doesn't have the ability to do this natively.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Steven Behnke I have update on transition, create on transition, suite utilities, and misc workflow extensions. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
OR
You want to perform this "condition" check on a field set on the transition screen during a transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steven
I'd prefer to do the latter, if the secondary transition could happen automatically based on the user selecting a specific item in the drop down list on the transition screen, that would be great. ,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.