Hello, I have a custom field called "Code Reviewed" with a value of "Yes" or "No", defaulting to "No". I want to prevent a transition from occuring based on the value of the custom field. I don't want to hide the transition, but I don't want it to work until the "Code Reviewed" value is set to "Yes".
My pertinent workflow:
Status: Dev Completed
--- Transition: DEV Complete
Status: In QA
How can I add a condition to the "DEV Complete" transition that checks the value of my custom field and only allows the workflow to advance when "Code Reviewed" value is set to "Yes"?
Rather than a yes/no drop down select, you could make the Code Reviewed a Checkbox with only one option: yes.
Then use a workflow validator to require that field be set to execute that transition.
Using conditions will always hide the transition until the criteria is properly met.
Thanks Josh, the only problem I have with your suggestion is that the Yes/No is already in production and we have hundreds of issues that already have a value "No".
I will see it I can get the workflow validator you mentioned to work with the yes/no control.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes retirement of custom fields is always a problem. Another thing you could try is to "disable" the No option on the custom field and remove the default so that the old data would remain, but you could implement the new behavior for future issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the suggestion, much appreciated :)
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.