Hi,
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.
Thx
you can use comment required validator from Jira Misc Workflow extenstion plugin
https://innovalog.atlassian.net/wiki/display/JMWE/Validators#Validators-3-CommentRequiredValidator
Hi,
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".
Cheers,
Raphael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
then you need to write validator!!
you can use script runner plugin
check this
https://jamieechlin.atlassian.net/wiki/display/GRV/Script+Runner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there
I am working on the same issue and it would be great if I could solve it using ScriptRunner (since we have the Plugin already).
@RambanamP Unfortunately your link does not work anymore: https://jamieechlin.atlassian.net/wiki/display/GRV/Script+Runner
Any other thoughts?
Thanks for your help!
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Christian Gertsch there is comment required validator in script runner validators so you can use it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can write a workflow validator as
InvalidInputException e=new InvalidInputException();
String[] comment=(String[])ActionContext.getParameters().get("comment");
if(comment!=null)
{
if(comment[0].isEmpty())
{
e.addError("comments","Comment must be filled");
}
}
if incase resolve:
ActionContext.getParameters().get("resolution");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are looking for the Field Required Validator (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.
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.