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
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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

93 views 0 1
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