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

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/JiraWebActionSupport.properties" 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 https://answers.atlassian.com/questions/37049605. 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Stride

Get Started in Stride in 3 Easy Steps

Get started on Stride in 3 easy steps   If you’re new to Stride, welcome! We’re super excited to have you aboard. Stride is easy to use and set up, so don’t worry about reading tons of borin...

54 views 0 2
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