Forums

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

How to capture Closed Date based filter in JIRA 5.2.11

Sujata July 3, 2018

Hi Team,

  Need your assistance to fetch data based on close date field. Currently this field is showing blank value.

Project team were using last updated date along with status='Closed' filter but anyhow they found data mismatch as  after closing the issue there are multiple possibility that users can make update on it and hence last updated date changes.

We are using jira 5.2.11.

Thanks,

Sujata

 

1 answer

0 votes
Josh Steckler
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.
July 3, 2018

If you are using a custom field for closed date, it won't have retroactive data unless you find a way to copy the "resolved" system field (resolution date) into the custom field. There's several ways to do that but it's not straightforward. 

  • If you have Suite Utilities for Jira, you can add in a postfunction to copy field value to another field. You could add a new transition to the workflow from Closed to Closed, and use this postfunction to copy the Resolution date into the Closed date.
  • You could write a script, using the REST API to do this provided that Closed Date is added to the Edit screen beforehand (it can subsequently be removed).
  • ScriptRunner add-on would also probably be able to do this.

To ensure it's filled out on all issues from now on, you will have to edit every workflow where it's necessary to add this postfunction to the transition which ends up in Closed status.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events