Making "Fix Version" required for resolve screen IF Resolution = Fixed

Michael Demetria March 23, 2015

We are using JIRA 6.3.8 and  I'd like to enforce the "Fix Version" field to be required field during a resolve workflow/screen ONLY IF the Resolution is set to Fixed.  I'm able to force "Fix Version" to be a required field during the In progress -> Resolve Transition (using validation)... but I only want the "Fix Version" to be a required field if the user picks the Resolution "Fixed".  Is this possible?

3 answers

4 votes
randyz May 5, 2015

Hi Michael,

I ran into the same problem last year.

This was resolved by:

1) install script runner plugin

2) make a simple script validator with the following condition:

issue.resolution?.name != 'Fixed' || issue.fixVersions

 

Best,

Randy

 

 

Daisy Tam July 7, 2015

Simple and no add-on required

Like Sanjay Bhatia likes this
Julian Radünz August 30, 2016

This works as expected, thanks!

0 votes
Shravanthi Sudarshana September 21, 2015

Is this possible in Atlassian Cloud as well? I could not see an option to add Script condition even though i have suite plugin installed..

0 votes
John Bayne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2015

Suggest an answer

Log in or Sign up to answer