Resolutions are not being set in Jira server

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

  1. Resolutions are not set. The Resolution column shows all UNRESOLVED issues in the Issue Navigator.
  2. The Created vs Resolved Gadget does not show issues getting resolved.

Cause

The Resolution field is not being set.

Issues without a Resolution are not considered resolved in JIRA applications.

Resolution

Find the Workflows without a Resolution and add a Resolution Post-Function to them.
The Resolution field can be set to be always the same fixed Resolution v
alue or be configured to be set during the transition on a Screen:

Find Workflows without a Resolution

Run the following query in the database to identify Workflows without a Resolution set:
For PostgreSQL:

select * from jiraworkflows where id not in (select id 
from jiraworkflows j where "descriptor" ~* '<arg name="field.name">resolution</arg>\s+<arg name="field.value">\d+</arg>');


For MySQL:

select * from jiraworkflows where descriptor not rlike '.*<arg name="field.name">resolution</arg>.*<arg name="field.value">[[:digit:]]+</arg>.*';


Add a Resolution to the Workflow

  1. Browse to a project's Admin Panel.
    1. Note the Workflow Scheme.
  2. Browse to Workflow Schemes from the Admin panel.
    1. Note the corresponding Workflow.
  3. Select the workflow.
  4. If appropriate, create a draft.
  5. Find the transition that should set the Resolution.
  6. Navigate to the Post Functions tab and click Add post Function
  7. Add the Update Issue Field event as a post-function.
  8. Set the Issue Field to Resolution and specify its Field Value.


Configure a Screen to choose a Resolution

  1. Browse to a project's Admin Panel.
    1. Note the Workflow Scheme.
  2. Browse to Workflow Schemes from the Admin panel.
    1. Note the corresponding Workflow.
  3. Select the workflow.
  4. If appropriate, create a draft.
  5. Find the transition that should set the Resolution.
  6. Verify if the Transition has a Screen linked to it
    1. If so, add the Resolution field to the screen
    2. If not, Link a Resolution Screen to the transition that contains the Resolution field
Last modified on Nov 13, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.