Closed tickets showing in "Open requests" list in portal Requests for JIRA Service Management Cloud
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Your Jira Service Management customers report that they can see closed or done requests when they sort by "Open requests" on the JSM portal.
This is most likely caused by the Resolution field not being set for these issues. Jira considers that the lifecycle of an issue has come to an end when the "Resolution" field has a value.
You can see the following Jira filter to see issues that are in a done status without the Resolution field set:
1
statuscategory = Done and resolution is EMPTY
Solution
You need to be an Administrator for Jira with
Make bulk changes
to execute the following steps.
Set the Resolution filed for requests already in a Done status.
Modify your Workflow by adding a new transition with Post Function
Open your project > Click Project Settings > Click Workflows on your left sidebar.
Find the relevant workflow, then, on your right corner, click on Edit workflow to edit it.
Select the Diagram tab, then click + Add transition.
From status Any status (the final status), to status Itself (basically creating a loop).
Name it accordingly ("Set Resolution", for example), then click Add.
Refresh the page.
Select the newly created transition, then click Post Functions.
On your right corner, click Add post function.
SelectUpdate issue field, then click Add.
On "Issue Field", select Resolution.
Select the relevant "Field Value", then click Add.
Don't forget to publish the workflow draft.
You can limit who can use this transition to user groups or project roles. Please follow the steps here: Add a condition to a transition
Bulk transition issues
With the new workflow transition in place, we can bulk transition issues.
Use the previously mentioned JQL search to find all issues with the status done, but the Resolution field is not set.
1
statuscategory = Done and resolution is EMPTY
Select Bulk change from the ••• Action menu.
On the following screens, choose Transition issues
Choose the Resolution field previously selected and transition all previously selected issues in one go.
Run the same JQL query to confirm the issues now have their Resolution field set.
1
statuscategory = Done and resolution is EMPTY
To ensure no future issues end up being closed without the Resolution field set, please reference this How to documentation
Was this helpful?