Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I track status not changed in a period of weeks?

Hello!

I'm trying to create some JQL to specify epics that are not changing status in 2, 3, 4, 5, 6, 7, 8, 9 and +10 weeks.

For that, I made a JQL like this:

project = "PROJECT NAME HERE" AND status in ("status 1", "status 2") AND NOT Status Changed AFTER -2w


This is getting me the issues that are not changing status in 2 weeks, but also issues with more than 2 weeks. How do I exclude issues that are no changing for more than 2 weeks from this jql?

 

I need to create one jql for each week, to do automations, and I can't find out how.

1 answer

Hi @Lucas Fontoura 

Such queries can be tricky to get correct as you will need to determine your date range clauses.  Some things to help are:

  • Draw yourself a timeline on paper, indicating what you care about.  For example, -1w, -2w, -3w...
  • Mark your use cases and ranges on the timeline
  • The CHANGED operator can check on different units of measure, such as hours, and is defaulting to check NOW(-2w) when you check as in your query...so...
  • Add the startOfWeek() and endOfWeek() functions to help
  • Consider using DURING for ranges

Please look here for more information about advanced searches:

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-operators/#Advancedsearchingoperatorsreference-CHANGEDCHANGED

Best regards,

Bill

Hey!

Thanks for reaching out.

Before you answered, I actually did some more experiments and got it.

 

The changes I made from the previous one are in bold:

project = "XXX" AND status in ("XXX", "XXX") AND NOT Status Changed AFTER -14d AND Status Changed AFTER -28d

 

After that, I just had to change the days for the following weeks.

 

Thanks anyway! :)

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

150 views 9 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you