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

4 answers

0 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!?

 

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 Apr 17, 2018 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...

819 views 2 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