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

Sylvie Ruffin September 7, 2015
 

2 answers

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 7, 2015

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
0 votes
Pilar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 7, 2015

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