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

This widget could not be displayed.
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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

167 views 1 3
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