Jira Filter - Creating a filter that shows tickets moved to a status past two weeks

Bryan Trummer Community Champion Dec 14, 2017

I am looking to build a filter for tickets that were transitioned to "Released" and "Done" statuses in the past two weeks from Friday to Friday. This is currently what I have but not sure if its fully correct.

 

project = "Server & Datacenter Operations" AND status changed to "Released" after startOfWeek("-2") before startOfWeek()

4 answers

1 accepted

0 vote

I was able to get the query he wanted, he changed his mind from 2 weeks with date specific query.

 

Thanks all for your help!

0 vote
Tyler Brown Community Champion Dec 14, 2017

Hey Bryan,

You should be able to use:

project = "Server & Datacenter Operations" and status changed to "Released" AFTER startOfWeek(-2w) and status changed to "Released" before endOfWeek()

That should give you the 2 week window you are looking for.

Hope this helps,

Tyler

use

project = "Server & Datacenter Operations" AND status changed to ("Released","Done") during (startOfWeek(-2), startOfWeek())
0 vote
Warren Levy Community Champion Dec 14, 2017

Hi Bryan

There are 2 aspects - 1. is it valid JQL and 2. is it what you want.

For 1. the answer is no, but I'll move on to 2.

For 2. I'm not totally sure what you're aiming for. You mention the past 2 weeks and Friday to Friday. So what are you hoping for on Monday 18 December? Or Thursday 21 December?

project = "Server & Datacenter Operations" AND status changed to "Released" after startOfWeek("-2")

will always give you the prior 2 weeks, unrelated to Fridays.

I think you need to try and clarify what you're wanting to achieve

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
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

620 views 6 12
Read article

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