It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Search Tickets by Date Range

I'm trying to query tickets based on a date range. I've looked at several items here but none of them seem to work. Here is what I'm trying to do:

project = eCom AND assignee in ("name1", "name2", "name3") AND sprint not in (i20150402, i20150317, i20150303) AND resolved >= 2015/02/15 AND resolved<= 2015/03/31

Essentially get the tickets resolved between 2 dates.

Thanks in advance

6 answers

1 vote

So, let's concentrate on the date clauses - I assume that's what you think is not working?

I can't see anything wrong with your JQL - what is it returning?  Can you definitely identify an issue where the "resolved" date is showing outside that range?

I think your sprint IDs may be the issue as these should be integers. Hover over the sprintID and check what is displayed in the footer of JIRA to get the number of the sprint.

Apologies, while that comment may be valid, it would make your filter more open.

For comparison here's an approach that filters out issues resolved within two dates


project = NARW AND issuetype = Bug AND status was Resolved during (2015-01-01, 2015-01-31) AND resolution was in (Fixed, "Fixed not Merged", Done) during (2015-01-01, 2015-01-31)

I tried doing something much simpler to isolate the problem better. project = ANL AND status was Resolved during (2015-01-01, 2015-01-31) I'm getting an error that says "Error occurred communicating with the server. Please reload the page and try again.". All other queries work fine.

Can't see why that should happen, might be best to post this directly to Atlassian JIRA Support!?


0 votes

It might be too late you Scott but for everyone else with similar issues (like I just had) - you're missing quotes around your data. This should work:

AND resolved >= "2015/02/15" AND resolved<= "2015/03/31"

Suggest an answer

Log in or Sign up to answer

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you