For a bug ticket, I have a Source of bug custom field with 10 options. If the source of is a regression, I want to require the assignee to add complete another field before closing the bug. I have installed JMWE and successfully marked a few fields required but hitting a wall on the aforementioned workflow.
Hi @Jessica Silvani ,
for that, you need to use a Field Required (JMWE app) Validator, select the required field, and add a "Conditional Validation" script like:
issue.customfield_12345.value == "Regression"
where customfield_12345 is the custom field ID of field Source. This easiest way to insert the right field ID is to use the "Issue Fields" help tab below the editor.
Thank you so much for your quick reply! I tried what you have here, but the test isn't working; am I missing something?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe you confused the two fields. The required field is not "Source of bug" but the other field (the one that should not be empty). And in the Condition script, make sure you refer to the "Source of bug" field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That did it!!! You are absolutely wonderful; thank you so much!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.