How to prevent in transition Close, issue to be closed if resolution is not set ?


2 answers

1 vote

This is a complex one. 

Off the shelf, you can't quite do this by saying "make the field mandatory" as JIRA doesn't ship with the validators to check that the field is filled.  You can install free addons to provide this validator.  But you probably don't want to do it this way because there are better options:

You can also

  • Set the Resolution field by using a standard post function on the close transition.  It's not "mandatory", it gets filled for the user.  But only ever with one value (unless you start scripting or get other addons)
  • Make sure the "close" transition has a transition screen, and make sure the Resolution is on that screen.  The field will always then be filled by the user - there is no option to leave it blank

You can make the resolution field as mandatory on the close issue transition. You can do this by adding a postfunction in the workflow in the transition to Closed.

In the default workflow, this field resolution is anyway mandatory in the transition to Resolve issue.

See this link



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,314 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