After closing the issue type resolution field was displaying unresolved

keerthika Narra December 1, 2019

Hi team any one help me when bug is closed the resolution field is showing unresolvebug.PNG

2 answers

1 vote
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 @keerthika Narra

You need to set the resolution also when closing an issue - a few options for adding this. The options I mention below you need System Admin to add to your workflows. Each workflow would need this detail added to it.

For the issue you've closed, you'll need to reopen it and close it again once you complete one of the below options...

One Resolution:

If for a workflow there is just one resolution, here's how to add it:

  1. Go to Jira Admin Settings > Issues > Workflows
  2. Locate your workflow and press Edit
  3. Select the transition to your "Closed" status and press Post Functions
  4. Press the hyperlink "Add post function"
  5. Select "Update Issue Field" and press Add
  6. On the next screen, select the field Resolution and then select the appropriate resolution to use. 
  7. Ensure you publish the workflow to ensure it activates this new rule

Pro-tip:

  • You can use this post function to remove the resolution also coupled with the option below for multiple resolutions, if you have a reopen transition from closed. This ensures open issues don't have a resolution / resolved date.
  • You can add new resolutions if needed - just go to Jira Admin Settings > Issues > Resolutions and add them from here

Multiple Resolutions:

If you want users to select from numerous resolutions...

  1. Go to the Workflow and press Edit
  2. Select the transition to "Closed" and press Edit
  3. Add in the resolution screen to this step, which has resolution as mandatory (you can edit the fields on this screen via Issues > Screens)
  4. You can publish at this stage, but Jira will use all available resolutions as options - if you'd like to limit these options, continue with the following steps...
  5. Go to Issues > Resolutions (in a separate tab) and click edit next to resolutions relevant to include or exclude. 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
  6. Go back to the workflow screen, select the transition to "Closed" and select Properties on the transition edit options
  7. Add in a workflow property - listed on this page - to include or exclude resolutions. In the Property Key include one of the two resolution options, and in Property Value add in the Resolution IDs you wish to include or exclude
  8. Click Add once complete and ensure you go back to the main view of the workflow and press "Publish" to activate it

Simplified Workflow:

The final option is simple - if you're using a simplified workflow (i.e. same workflow, all issue types, one project) - you can have the resolution set to "Done" when an issue reaches a specific column on a board

To do this:

  1. Go to the board where the simplified project is visualised
  2. Select Board > Configure and choose Columns
  3. Check the "Set Resolution" checkbox under the relevant columns.

Ste

1 vote
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 @keerthika Narra ,

You can use the 'Update Issue Field' post function to set the value of an issue's field after a particular transition is executed.

For the issue that you mentioned is closed, you can refer to the following adjustments:

How do I set resolutions on Closed issues

keerthika Narra December 1, 2019

In work flow for closed transition we have different transition from different status.for every transition post function i have to update value.

 

closed.PNG

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 @keerthika Narra

Yep, it's per transition you set resolution actions - same would apply for single resolution or multiple resolutions set and relevant resolution screen (see below).

Ste

Like Ollie Guan likes this

Suggest an answer

Log in or Sign up to answer