Hello,
I'm trying to make a field required before allowing the issue to transition to "approved." However, I need this to only apply to issues with specific values in one of the custom fields in the issue.
So in my case, I have an issue type that has custom fields "list of Instructions" and "Product" with choices A,B, and C. I want a validator that will require the custom field "List of Instructions" to be mandatory for the issue to transition, but only for issues where "A" or "B" is selected for "Product" field.
Any ideas how to go about with this?
You can absolutely do this via Conditions on the transition! This will ensure that the transition is not visible unless your criteria is met. For this your criteria is:
See below screenshots of how this would look (I've used Components for Product, and Environment for List of instructions).
Getting the Option ID: You can find this by going to the custom field config, finding your field then clicking the ... and opening Contexts and Default Value, then editing on the options, then edit on the specific option. In the URL you'll see ?fieldConfigId=10107 - the 5 digit number is the ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.