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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

803 views 3 9
Read article

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