automatically fill in Fix version after change status

Phuong Nguyen December 6, 2018

Hi,

Is it possible to configurate in JIRA that the field Fix Version will automatically fill in when I change the Issue status to (for example) 'Done'?

1 answer

1 accepted

0 votes
Answer accepted
Ismael Jimoh
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.
December 6, 2018

From standard JIRA,

The answer is no. You would need to script this.

Secondly, why would you want to automate the fix version when you could have different versions for different issues? Instead I advise creating a resolve screen, add the scree to the done transition, make it required before the issue is closed.

now when users are closing issues they must select the correct fix version.

Phuong Nguyen December 6, 2018

Thank you!

How can I make a field required?

Ismael Jimoh
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.
December 7, 2018

In the workflow transition add a condition that checks for the fix version ensuring it is not empty.

Ismael Jimoh
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.
December 7, 2018

Alternatively, you can add it to the validator so that it forces the user to add a fixversion before the transition becomes available:

def fixVersion= issue.getFixVersions();
 if (fixVersion == null) {
//throw error message here
}

The above code should help.

Phuong Nguyen December 7, 2018

Great! Thank you.

Suggest an answer

Log in or Sign up to answer