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

https://confluence.atlassian.com/cloud/advanced-workflow-configuration-687219884.html#notfound

Pilar

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

24,959 views 2 7
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