How to make the comment mandatory when closing a bug issue?


I would like to force my users to put a comment on a bug issue when they are closing it or setting the resolution to a specific state such as "cannot reproduce" or "won't fix"

Today, comment is not mandatory so we are missing some information.


5 answers

1 accepted

0 votes
Accepted answer

you can use comment required validator from Jira Misc Workflow extenstion plugin


What about making the comment mandatory not for the transistion but also a specific resolution type. Example: a comment is mandatory when the user "Resolve" an "Open" bug issue and set the resolution to "cannot reproduce".



then you need to write validator!!

you can use script runner plugin

check this

0 votes
Timothy Chin Community Champion Sep 29, 2013

You are looking for the Field Required Validator (

you can write a workflow validator as

InvalidInputException e=new InvalidInputException();

String[] comment=(String[])ActionContext.getParameters().get("comment");





e.addError("comments","Comment must be filled");



if incase resolve:


can we do something similar for satisfaction rating to be mandatory before resolution is set or status is moved to done / resolved / closed? any views?

0 votes
Joseph Pitt Community Champion Sep 29, 2013

I presume the required comment is for tracking purposes. Rather than doing that, I suggest creating a custom text field named something like 'bug close comment' and making it mandatory at the close transition. That will allow you to easily seach for similar comments for all bugs at time of closing.

Another option is to use the Plugin Workflow Essentials for JIRA - It's not free but also supports to make the comment required on a transition screen.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 16 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

155 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you