Jira query - show cards created between today and minus 14 days from today

Samuel Meddows picture Samuel Meddows · Jan 9, 2015 · Viewed 24.6k times · Source

I can't seem to find a solution for my query in jira. I wish to only show cards created between today and -14 days from today.

I am thinking along the lines of created >= today(-14d) AND created <= today().

I can't seem to use today(-14d) in my version of Jira which is 6.1.5.

Thanks.

Answer

Carlos Fern&#225;ndez Moreno picture Carlos Fernández Moreno · Jan 9, 2015

You can use this JQL query:

created >= -14d AND created <= now()

See: https://confluence.atlassian.com/display/JIRA/Advanced+Searching