JQL Since Last Date

Hi,

I am trying to make a JQL query that will show issues that I have worked on since the last of our status meetings. We have them every Monday and Thursday.

I am not sure how to epxress this in JQL though...the during() clause is where I'm stuck. Is there a way to do this? The functionality I want is below, but ideally, I don't want to hardcode the dates.

"(status CHANGED DURING("2013/1/28 11:00", "2013/1/31 10:00")) AND assignee=currentUser() ORDER BY created DESC, key DESC, summary DESC"

Any help would be appreciated. Thanks!

1 answer

This widget could not be displayed.

You can use something like this instead of hard coded dates.

status CHANGED after startOfWeek("+1d") before startOfWeek("+4d") AND assignee=currentUser() ORDER BY created DESC, key DESC, summary DESC

That would be correct, if we only had weekly meetings. I'm not sure how to get the range to cycle between the two.

Basically, if it's past Monday, I would want CHANGED DURING(startOfWeek(), now()), but if its past Thursday, I would want CHANGED DURING (startOfWeek("+3d"), now()).

Create 2 filters. One after Monday before Thursday. Another after Thursday before end of week. Wouldn't that work?

I wanted to put this on our JIRA Dashboard -- that would mean I would have to change it twice a week, which is not much better than just setting the dates manually.

This basically requires a comparison operator, but it doesn't look like JQL allows for conditionals.

Pretty much. What I meant though is to create 2 gadgets and keep both of them in the dashboard without changing. One on the left and another on the right ;)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

135 views 2 0
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