Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,310
Community Members
 
Community Events
168
Community Groups

date calculation in JQL

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

Hi @EricMa ,

resolutiondate >=-14d

Works perfectly. Thanks

Like Ollie Guan_携程_ likes this
1 vote
Answer accepted

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

Super!

Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events