Can I saerch by date - 7d? Edited

Hi all,

just trying to make my queries as easy to update as possible, to allow me to create easily editable confluence report pages.

so the current query being used is

project = AA AND (status changed to "In Implementation" during ("2017/10/30 00:00", "2017/11/04 00:00")  OR status changed to Released during ("2017/10/30 00:00", "2017/11/04 00:00") )  AND "Epic Link" = AA-1  

 

im trying to make it easier like

 

project = AA AND status changed to ("In Implementation", Released) during "2017/11/04 00:00" -7d AND "Epic Link" = AA-1  

 

but it doesn't work

 

The best I have so far is below, but ideally id like it to just be one day to update

 

status changed to ("In Implementation", Released) during ("2017/10/30 00:00", "2017/11/04 00:00") AND project = AA AND "Epic Link" = AA-1

 

Any help?

1 answer

1 accepted

0 votes
Thomas Schlegel Community Champion Nov 06, 2017

Hi Toby,

a relative date such as "-7d" is always based on the current date. So "-7d" is 7 days before today, not 7 days before the date you mentioned before.

Hi Thomas, thanks for the reply, I think I may have done it with the below, what do you think?

 

status changed to ("In Implementation", Released) during (-7d, "2017/11/04 00:00") AND project = AA AND "Epic Link" = AA-1

This jql will list you all the issues that were released between last monday until last friday.

But if you do the same jql tomorrow, it will list issues that were released between last tuesday and last friday.

If you call the same jql after next saturday, you'll always get no result, because then, you have a negative time period. 

ah I see, thanks! will just have to stick to two dates then :'(

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,811 views 11 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot