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"....
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,
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
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,
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 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 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
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events