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.
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
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, it should give validator called Comment Required Validator. Comment is not really a field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.