JQL Filter Help

Hello

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.
Thanks
Abe

2 answers

1 accepted

1 vote

Try

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.

0 vote

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

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

64 views 0 5
Read article

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