I am trying to take a different workflow path based on a select list choice from the user. Meaning if the user selects Yes it would take one workflow path, if the user selects No it would take another.
Thanks for the help!
You can't really do this in one go.
If you are ok with a two-step process, then you can simply set mutually opposing conditions on the two paths (on transition 1, "if cf = yes" and on transition 2, "if cf != yes"). The users will only ever be offered one transition, based on the current setting of the field.
What you can't do easily is put the field on the screen and then let it choose the transition that runs when the user commits it. This is because they've already started the transition when they get to the screen, so they've already chosen.
Let me give an example. On issue creation we capture a few different variables through some select lists. Things like if a PMO resource should be involved or potentially someone from marketing or editorial. This information is captured by selecting Yes in select list. Later in the workflow, assuming one of these values were selected, we would work into an alternative workflow (as part of the same workflow of course). Once we capture the additional information in this step we would then transition back into the main workflow.
Let me know if this makes better sense.
So in status 'A' or 'B' a user decides that to check a checkbox (or enter 'y' in a field or similar boolean function).
Later, in status 'D', create two transitions, to 'tE' and 'tD1'
Conditions on each:
'tE' - if ((checkbox = unchecked) OR (all conditional values populated)) , allow transition to status 'E'
'tD1' - if ((checkbox = checked) AND NOT (all conditional values populated)) display screen with conditional fields, transition back to status 'D'
This should only display the correct button depending on state of affairs.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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