Required fields : Comment - does not work

Hi JIRA developers,

Can you please let me know how the Validator = Required fields : Comment is to be used ?

I added this validator and when I was executing that transition, as expected it threw an alert that comment field is required. But after inputting the comment when I retry to run that transition, again shows the same alert:

"Comment is required"....

Please suggest.

I need to make it mandatory that when the user tries to execute that particular transition, he should add new comment first.

5 answers

This widget could not be displayed.

Another possible solution is to use JIRA BEhaviour Plugin.

This link explains you how to implement that https://jamieechlin.atlassian.net/wiki/display/JBHV/JIRA+Behaviours+Plugin#JIRABehavioursPlugin-RequireaCommentwhenthestateisReopened

Hope this helps,

Fabio

This widget could not be displayed.

You most likely have custom field "comment". Here is how you should create what you need: https://confluence.atlassian.com/display/JIRA/How+to+configure+comment+field+to+become+mandatory+in+workflow+transition

I have already done it. It gives additional validator called Required fileds : Comments right?

That seems to be not working

No, it should give validator called Comment Required Validator. Comment is not really a field.

may I know what is the name of that addon. I am not able to find anything else apart from what I have already added. I cannot see Comment Required Validator!

does anyone have answer to this question?

This widget could not be displayed.

Hello Mohini,

Andris's comment is right.

You need to perform the following steps:

1. Install JIRA MISC Workflow plugin (https://marketplace.atlassian.com/plugins/com.innovalog.jmwe.jira-misc-workflow-extensions). You need to add a free license in order to have this plugin in-place

2. Edit your workflow transition, adding "Comment Required Validator" provided by the installed plugin

3. Publish your workflow

Please, keep in mind that it is a not free plugin.

Hope this helps,

Fabio

This widget could not be displayed.

I have the same problem as Mohini with the workflow extensions plugin. I have the "comment required validator" enabled for a transition & even if I enter a comment, it still pops up the custom error message. It is not correctly noticing that a comment has been entered & letting the transition continue. Any help would be appreciated.

This widget could not be displayed.

You can make the  'Comment' Field Required using Behaviours in Script Runner Plugin.
So whenever someone edits something it asks to put in a comment. It even works for transitions.

Check this link on how to do that:

https://jamieechlin.atlassian.net/wiki/display/JBHV/JIRA+Behaviours+Plugin#JIRABehavioursPlugin-Modifyfielddescriptions

You can Use Behaviours in Script Runner Plugin to set 'Comment' required everywhere, or use JIRA Suite utilities Plugin to create Validators to make 'Comment' required between Transitions. Both plugins are free too. https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

195 views 18 7
Join discussion

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