Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

When reopening a resolved issue, resolution date is not clearing

Mike Hirons August 12, 2021

We have a custom workflow in place, in which issues can be closed and resolved.

Issues can, however, be reopened - on transition back into an unresolved status, the resolution is cleared.

However, the resolution-date field is not clearing - which is causing problems with reporting (as JQL considers the issue 'resolved' - even if there is no resolution set).

resolution-date is not coming up as a field that can be cleared as part of a transition.

Is anyone able to help, or offer some advice?

4 answers

1 accepted

0 votes
Answer accepted
Del Jensen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 12, 2021

When you transition to Reopened, you need to have a Post Function that clears various fields.  I've included an example of what our company uses:

reopen transition.jpg

Mike Hirons August 12, 2021

Yep, we have a "The Resolution of the issue will be cleared" post function - but this isn't clearing the resolution date field, which is causing the main problem.

I'm not able to select resolution date as a field to clear.

Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 12, 2021

Can you show us the screenshot of the transition post functions? Is the 'Resolution will be cleared' before "Update change history" and "Reindex issue"?

 

The dropdown that this function uses for field selection only shows system fields, therefore it should only show "resolution". There is no resolution date or any other variant.

 

If you have this function, in the correct post-function order, and it does not work, then the problem is elsewhere - either a different workflow, a draft/unsaved workflow, wrong issuetype, different transition being used, etc.

Like Del Jensen likes this
Del Jensen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 12, 2021

I just noticed you are using Server.  We use Cloud and it is clearing that date when I reopen with the above post function.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 12, 2021

Hey Mike - you need to clear the Resolved field - that's the date field. 

Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2021

No, you don't clear the "Resolved" field. It's a field in the background which you are not supposed to touch, and you can't select it as a field, it's updated alongside "Resolution".

If you clear resolution, the "resolved" date is cleared as well, if you just try to clear "resolved" then you will firstly probably fail (it's a special field and also it's not a field, I'm confused as to what it is), but secondly you are not removing the resolution itself and that's the bigger issue than the date.

Like Del Jensen likes this
0 votes
Souvik Nath July 20, 2023

I have solved it now by using below post function in between workflow transition in my project. I am using Jira datacenter 8.22.6 version.

Resolved date gone.PNG 

0 votes
Souvik Nath July 19, 2023

Yes @Mike Hirons , I am also facing the same issue exactly, but unable to get any solution.

0 votes
Payne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 12, 2021

We clear the resolution on re-opens in several of our projects, just as you are doing, and we have no residual resolutiondates as you are experiencing (verified with a JQL search of resolution is empty and resolutiondate is not empty). Not sure why you're experiencing that.

Nonetheless, perhaps you can change your JQL to check for an empty resolution rather than an empty resolutiondate.

Suggest an answer

Log in or Sign up to answer