Clear the resolution field when an issue is reopened in Jira Cloud
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Purpose
By default, when an issue is reopened, it won't remove the resolution value and the issue will become on a state where it is opened but with a resolution set, so it must be cleared while reopening. This is important because many reports/filters could be inspecting for the presence of a Resolution to be considered resolved.
Solution
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 > Workflow;
- 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.