Clear the resolution field when an issue is reopened in Jira Cloud
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
Reopening an issue in Jira doesn't clear the resolution, leading to inconsistencies in reports and gadgets, as Jira still considers the issue resolved.
Understanding the Resolution field
Jira considers issues with a resolution set as "Resolved issues." That means some Jira gadgets will treat these issues as Resolved even if they are under a TO DO or IN PROGRESS status.
To learn more about the Resolution field, please review the documentation:
Clear the Resolution via the Workflow post function
The Resolution field is typically cleared by setting a post function in the workflow transition you'd like to have this occur.
In case you already have a reopen transition, follow the steps below:
- Go to the Project Settings > Workflow.
- Edit the desired workflow.
- Find the transition that will reopen the issue and click on it.
- Navigate to the pop-up and click on Post Functions, then click Add post Function.
- Add the Clear Field Value event as a post function.
- Select the Resolution field and click add.
- Note - If the Resolution field is not listed in the list of values, searching for it by typing the first few letters will bring it up.
- Other fields can be selected if you want their value to be cleared when the transition is executed.
- You can add multiple post-functions, one for each field value you want to clear.
- Note - If the Resolution field is not listed in the list of values, searching for it by typing the first few letters will bring it up.
- If you edit an active workflow, remember to publish your draft afterward.
In case you don't have a reopen transition, follow the steps below:
- Go to the Project Settings > Workflows.
- Copy the name of the desired workflow.
- Navigate to https://<InstanceDomain>.atlassian.net/jira/settings/issues/workflows.
- Locate the desired workflow > Click on the three dots icon (•••) > Copy.
- Add the new transition. You can learn more about it here.
- Follow steps 4, 5, 6, and 7 above.
- Activate the workflow.
In order to set the resolution to the already closed tickets, follow the steps below:
Add a transition from the affected status to itself called Fix Resolution.
Follow steps 4, 5, 6, and 7 above.
Using a Bulk Operation to edit those issues using the Fix Resolution transition. This will set the field to the selected resolution.