resolution is different by project.

hayeonhu December 1, 2019

I wanna use different resolution by project.
A project would like to use resolution field provided by default from jira.
and B project would like to use resolution field added maintenance.
but I approach jira administration > issue > resolution and added new resolution(maintenance)
I see the maintenance in the A project.

and
i use user defined fields to make resolution fields
then the resolution remains unresolved even if the issue status is done.

Is there any other way?

2 answers

5 votes
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 1, 2019

Hi @hayeonhu

To have an issue treated as resolved, you need to use Jira's default field. Which resolutions are available per issue are controlled from the workflow rather than the project - having resolution schemes is under future consideration and tracked via: JRASERVER-65924

This means if you have two projects which require different resolutions, you'll need two workflows (even if the statuses / transitions are the same). Here's how to achieve what you need:

  1. Go to your Jira Admin Settings > Issues
  2. Click Resolution, and select "Edit" against any relevant resolutions you wish to include / exclude per project
  3. In each, the URL will include an ID - eg. "id=10100" - this is the resolution ID. Take note of the name of each resolution and its ID
  4. Now go into Workflows - at this point, if the project's use the same workflow, you might want to duplicate it using "Copy" and apply the relevant schemes so each project has its own workflow
  5. Select one of the project's workflows and press "Edit"
  6. If the project has more than one resolution to choose from, make resolution required by selecting the transition to your "Done" status, pressing Edit and adding the Resolution Screen which has resolution as mandatory. You can edit the fields available on this screen under "Screens" (or add a different resolution screen per project if needed).
  7. Now, click the transition again and press "Properties"
  8. Add in a workflow property - listed on this page - to include or exclude resolutions. In the Property Key include one of the two resolution properties and in Property Value add in the Resolution IDs you saved from step 3, separated by commas.
  9. Click Add once complete and ensure you go back to the main view of the workflow and press "Publish" to activate it

^ This will limit which resolutions are available to the projects / issue types using that specific workflow. It allows you to be more granular, for example having "Fixed" for Bugs but "Done" for Stories.

If you are only adding one resolution per project / issue type - you can do this by:

  1. In the Workflow screen, select the transition to "Done" and press Post Functions instead. 
  2. Press Add Post Function
  3. Select the option "Update Issue Field" and press Add
  4. Select the Resolution field and then set the appropriate resolution under Field Value
  5. Press Add and as above, ensure you Publish the workflow to activate

Pro-tip: You can use the above post-function option to nullify the resolution if you have an option to re-open a ticket so it can be unresolved again. When selecting Field Value under (4), just select None instead. We apply this to all our non-Done statuses :)

Ste

0 votes
Ollie Guan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 1, 2019

Hi @hayeonhu ,

There are a few workflow properties which you can use in a transition or step of a workflow

jira.field.resolution.include 1,2,3,4 ( Resolution IDs that you want to include)

https://confluence.atlassian.com/adminjiraserver073/workflow-properties-861253674.html?_ga=2.44444707.666093464.1575249677-1478559027.1570682324

Suggest an answer

Log in or Sign up to answer