Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=Require+the+fix+versions+when+resolving+an+issue+-+15481502
widthauto

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:

Code Block
if(isNull(fixVersions)){
 return false, "fixVersions", "Fix Versions is required when resolving an issue.";
}

Step 3

Check the validator:

Table of Contents

Table of Contents