JQL Filter Help


I have a custom field "Target Date" (JIRA Date Time type custom field)

I want to create a filter using which I can identify all issues for which target date is < 30 days from current date. (Issues targetted for next 1 month)

status != Closed AND "Target Date" < endOfDay("+30d")

When this filter runs I get issues with Target date 20/Sep/12 which is past date. I want only those issues from today to next 30 days as target date.

I was reading https://confluence.atlassian.com/display/JIRA/Advanced+Searching and following

due < endOfDay("+1") which finds issues due by the end of tomorrow, somehow I understood this wrong.
Can you please tell me where I went wrong.

2 answers

1 accepted

1 votes


status != Closed AND ("Target Date" &gt;= now() AND "Target Date" &lt; +30d)

If you just do "Target Date" < +30d, you will also get issues where target date is in the past.

You could try include due > now() and see if this helps.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,156 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot