I have asked a similar question before a few years ago but I am still confused and cannot work it out.
I need to block a status transition (Resolved) based on whether a value is present in a custom field.
If 'Deploy sign-off required" = Yes then "Deploy sign-off by" and "Deploy sign-off date" must be populated. If they aren't populated then the transition to 'Resolved' must be blocked.
If 'Deploy sign-off required" is null then the ticket is allowed to be resolved without the sign off by and sign off date fields being populated.
I am attempting to do this by added a workflow condition but I can't work it out:
Hi Kara,
Just create two Transition to the Resolved status. One that has a condition that the field = Yes and one that the field = No. Then add your validators to the one transition as needed.
Thanks but I don't understand how that will work? If I have both then I will always be able to Resolve as regardless of whether I choose Yes or null, the condition will always be met and I will be able to Resolve?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Help me to understand the sequence.
The user edits the issue and puts a value in the Deploy sign-off required field at some point. Maybe even at create.
The issue moves along and gets to a point where the next transition needs to require the additional fields be entered if the above field = Yes. Otherwise if empty or No, then the issue continues down it's happy path.
Is this correct?
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.