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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

231 views 1 18
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