How do you make the addition of a comment mandatory when marking an issue as 'done'?

Jaki Howard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2019

I'm looking to make it mandatory for users to have to add a comment when they mark an issue as 'done'

1 answer

0 votes
Alexey Matveev
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.
February 14, 2019

Hello,

If you have Jira Cloud then you can use the Field Required validator

If you are on server, you would need an add-on.

There are multiple add-on available: Suite Utilities, ScriptRunner, Power Scripts and so on.

If you want to use the Power Scripts add-on, you could write a validator for the Done transition with a code like this:

if (hasInput("comment")) {
return true;
}
return false, "the comment field must be set";

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events