How can I define allowed resolutions for e.g. an issuetype?

We use JIRA Software and I created a project with that "Simple Issue Tracking"-Wizard.

Before using that wizard we hat the default resolutions fixed, won't fix, duplicate, incomplete and cannot reproduce. The wizard added 3 more resolutions...

These Resolutions are now available in ALL projects - how can I get JIRA to display the three NEW resolutions only in simple-issue-tracking-projects and the 5 other (old) resolutions only in 'Standard'-Projects?

2 answers

1 accepted

1 vote
Accepted answer

At the project level, you can use workflow properties on any transition that has a screen that allows resolutions.  The properties are "jira.field.resolution.include" and "jira.field.resolution.exclude"; I prefer to use "include" so that new resolutions don't show up automatically.

If you need to restrict on a specific issuetype within a project, you need multiple transitions for each "resolvable" transition using conditions to restrict each one to the relevant issuetype(s).  To make them all appear the same, use the properties "jira.i18n.title" and "jira.i18n.submit"; for default transitions like Resolve Issue and Close Issue, there are existing keys such as "resolveissue.title" and "resolveissue.resolve".  For custom labels, you'll have to modify "WEB-INF/classes/com/atlassian/jira/web/action/" to add your own.  That file may need re-packing as a jar, I haven't tested and it appears that may be deployment specific.

To clarify that a little, if you have a transition from, say, "In Progress" to "Resolved", with the original transition being "Resolve Issue", you could add "Resolve Bug" and "Resolve Improvement" such that "Resolve Bug" has a condition on the value of the IssueType field being "Bug".  If you want it to show as "Resolve Issue" in the UI, set the workflow property as I described above (resolveissue.title maps to "Resolve Issue").

Hi Dieter,

A way for you to do this is to use the workflow properties "jira.field.resolution.include", for more detail information you can refer to this link To search for the resolution id, you can either check the database resolution table, or the end of the URL when you "Edit" the resolution.

What jira.field.resolution.include" does is basically like resolution filtering, with it you can choose to include only the resolution you want to appear as an option in the screen that the transition in the specific workflow. However, this filtering will not work when adding a post-function to update the resolution field.

Hope this helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

19 views 2 1
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