/
Require the fix versions when resolving an issue
Require the fix versions when resolving an issue
Problem
It is good practice that when an issue is resolved, the Fix Versions field should be filled in, so everybody knows when to expect the problem to be fixed. The issue is described in more detail here: https://jira.atlassian.com/browse/JRA-5783
Solution
We'll use SIL™ to write a validator for the Resolve Issue transition which check the Fix Versions field.
Step 1
Create a validator for the Resolve Issue transition as described here.
Step 2
Fill in with the following code:
if(isNull(fixVersions)){
return false, "fixVersions", "Fix Versions is required when resolving an issue.";
}
Step 3
Check the validator:
, multiple selections available,
Related content
Issues in a released version remain open
Issues in a released version remain open
More like this
Issues in a released version remain open
Issues in a released version remain open
More like this
How to fetch the fixVersions ID from an issue using SIL routines and the JVersion structure
How to fetch the fixVersions ID from an issue using SIL routines and the JVersion structure
More like this
Linked Issues Status Validator
Linked Issues Status Validator
More like this
Simple Issue Language
Simple Issue Language
Read with this
Linked Status validator
Linked Status validator
More like this