How to set comment as required field on transition


I need to make the Comments field mandatory on a transition, so that a new comment needs to be added when transitioning an issue.

I've created a screen that contains the Comment field, added the screen on the transition, and using Validator I've set Comment as required field.

However, now, when I want to use that transition, I get the screen, I add a comment, but when I want to transition, I get the following message: Comment is required. But it is not present on screen.


Screenshot 2016-07-08 10.22.11.png

Any suggestions please?




2 answers

0 vote
Joe Pitt Community Champion Jul 08, 2016

It may be because the comment field is dynamically added to all transition screens by JIRA so the validator is looking at the stored screen definition and doesn't see the comment field on it. When I want a comment for a specific transition I create a text field for that transition and make it required. That also makes it easy to find the comment related to the transition. I don't recommend making a comment required on all transitions; you'll just upset your users.

Hi @Joe Pitt,

Sadly that doesn't exactly do.

Using the new field approach makes it so that if I need to re-transition the issue (say from code review back to in progress), the previous comment is still there in the text box, and anyone is able to delete it. This makes traceability a pain.




Joe Pitt Community Champion Jul 08, 2016

If they delete it that will appear in the history. However, you'd have to clear it if you need to 'go back' otherwise it will be there and it won't force them to add a NEW comment.

Exactly, it will not enforce a change.

Joe Pitt Community Champion Jul 08, 2016

If it was my workflow I'd clear the field if you went back to 'in progress' just like you clear Resolution if reopening an issue.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,269 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot