JIRA workflow validator problem "required field'

I've encountered an issue with JIRA validator's not working properly - I have setup transitions that have a validator of 'Field Required' = 'Comment' for status changes. Pretty standard setup for defect status transitions. The problem is that now I can't change the status of defects any longer because comments aren't actually being recognized so I just recieve the error that a comment is required. It doesn't matter if I add a comment before attempting the status transtion or at the same time. Could someone explain to me how to get this to work properly? I can't believe this could be working as designed?!

2 answers

1 accepted

This widget could not be displayed.


This isn't part of the standard Jira installation, it's part of the JIRA Suite Utilities.

You might create an issue about it here : https://jsutil.atlassian.net/browse/JSUTIL

You could also use the comment required validator that's part of this plugin : https://marketplace.atlassian.com/plugins/com.innovalog.jmwe.jira-misc-workflow-extensions

It's also free and should help you out.

Best regards


Edit - Ah, beat me to it, and put more detail than I'd just scribbled :-)

Thanks for the clarification gentlemen. This does seem to be a pretty standard requirement with workflow transitions for any defect tracking system and I'm pretty shocked it isn't standard out of the box functionality that is supported in JIRA.

This widget could not be displayed.

It sort of is.

"Comment" is not actually a field, in the sense that the rest of the issue fields are, and it needs special coding to make it a "required field" because of that.

There is a "comment required" validator which you need to use instead of "field required" - unfortunately I can't remember if it's in the core of 5.x, Jira Suite Utilities, Jira Toolkit, or Misc Workflow extensions. Does work nicely though.

Thanks Nic, unfortunately there is no 'comment required' specific validator in JIRA 5.1. I just can't fathom why JIRA designers would populate 'comment' in the list of possible fields to make 'required' through a validator unless this would actually work. Another example of very poor design.


Might it be that you have a custom field called Comment?

That could cause confusion and might explain this problem.

best regards


I double-checked that on the off-chance another Project had created a "Comment" field, but that isn't the case. Here's the comment in the field parameter list:

JIRA workflow Validator

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

34 views 0 1
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