I want to make the field Affects Version(s) mandatory when Prod is selected as the environment. I have tried doing this in the workflow but I don't see how to add conditions.
Hello @Jesse Ortega Jr
If you are using only native Jira functionality it is not possible to create that type of condition where requiring one field is based on the value in another field.
You could create a second workflow transition, with the same source and destination statuses, and add a Condition to it to show only when Prod is selected as the environment. You could then add a Validator to require the Affects Version(s) field only for that transition.
For the other transition(s) with the same source and destination statuses you would set conditions on those transitions to show when the environment is any of the other values except Prod.
In that way only only the appropriate transitions would show based on if Prod was or was not the selected environment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.