Forums

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

Is there a way to filter results on the basis of days?

chhatwal_simran January 20, 2023

Hi,

I am trying to generate a filter in which I want the issues to be reported in the past 365 days. 

I don't want to keep changing the time/dates on the filter.

 

2 answers

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
January 20, 2023

Hi @chhatwal_simran -- Welcome to the Atlassian Community!

Do you mean the items completed/resolved in the last 365 days?  If so, this would do that, after you substitute in your project name:

project = myProjectName AND resolved >= -365d ORDER BY resolved ASC

To learn more about creating JQL searches and to see examples, please look here: https://support.atlassian.com/jira-software-cloud/docs/use-advanced-search-with-jira-query-language-jql/

Kind regards,
Bill

chhatwal_simran January 20, 2023

Thank you so much @Bill Sheboy got the desired result.

 

Regards,

Simran

Like Bill Sheboy likes this
0 votes
Ashley Hudson
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.
January 20, 2023

Heya @chhatwal_simran ,

So you'd want to do something like this JQL:

project = XXX AND created <= 365d 

I hope this helps! :)

Kind Regards,

Ashley Hudson

chhatwal_simran January 20, 2023

thank you so much @Ashley Hudson 

Regards,

Simran

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events