Forums

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

date calculation in JQL

EricMa September 23, 2022

How can I search for the issues switched to "Done" within the last 2 weeks?

 

I don't know how to perform "date calculation" such as today - 14 days...

2 answers

2 accepted

1 vote
Answer accepted
Ollie Guan
Community Champion
September 23, 2022

Hi @EricMa ,

resolutiondate >=-14d

EricMa September 23, 2022

Works perfectly. Thanks

Like Ollie Guan likes this
1 vote
Answer accepted
Fabio Racobaldo _Herzum_
Community Champion
September 23, 2022

Hi @EricMa ,

you could use date specific functions (https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/)

Example :

resolved > startOfDay(-14) 

resolved > startOfWeek(-2)

Hope this helps,

Fabio

EricMa September 23, 2022

Super!

Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events