Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
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 to filter issues updated in a given time frame after created date?

Hello!

I would like to see issues updated for example one month after the creation date.

Something like: updated >= (created + 30d)

How can I do it with JQL only (without add-on)?

3 answers

3 accepted

3 votes
Answer accepted
Jack Community Leader Mar 08, 2021

OOTB you cannot do this w/ JQL. JQL doesn't support math functions. If this is something you will need on a regular basis then consider incorporating Automation and custom field. Something like this....

  1. create a custom date field
  2. set up a daily scheduled automation to check if an issue has been open for 30d and if so set today's date into the custom field
  3. use JQL to periodically check if the issue has been updated post the custom date.

Now maybe there is a better solution if I better understood what you are hoping to achieve. I'm used to seeing request for 'issue not updated for xx days' but this is different.

Hello @Jack 

I was looking for a simple JQL approach, but as I see I won't get it :) I also search for issues not updated for x days, but this time I was asked to provide a simple solution to filter issues where nothing happened x days after creation time (and maybe those issues are older).

Thank you

3 votes
Answer accepted
John Funk Community Leader Mar 08, 2021

Hi Robert,

You can probably get a list of issues using Automation For Jira as it has the ability to do a diff between date fields.

See this document for more guidance on using Smart Values to accomplish that:

https://support.atlassian.com/jira-software-cloud/docs/smart-values-date-and-time-functions/

1 vote
Answer accepted

JQL doesn't support that function as yet, you will need an app to provide it.

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 Confluence

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

90 views 2 7
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