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

Need help with Issue created date query Edited

Hi, 

I want to filter all the jira tickets which belong to X project and were created Y minutes ago and Can someone please help me with the following query? 


This is what my query looks like: 
project = X AND createdDate > '-20m'


Questions:
1. can someone please explain what is the difference between createdDate and created? 
2. For filtering issues with days I am using 
project = X AND createdDate > '-20d' 

Can someone please confirm if this is correct? Basically I am running an automation basis this filter and it doesn't seem to work. 

1 answer

0 votes
John Funk Community Leader Jan 07, 2020

Hi @Piyush Dinde  - I have never seen a difference when using either created or createdDate. Both should work as you intend. 

Your last query should also work - when you run it as a filter, do you get the results you expect? (Outside of the Automation that you are using).

On the time, unfortunately, there is not way to currently do that. You could use createdDate > startOfDay() to see issues created today. But you can't control based on time of day. You could put in a value for minutes inside the ( )  for the time you are running it, but you would have to do that manually and not use with automation. 

Thanks @John Funk  

I shall try the suggested approach. I think it should work. 

Also, I want to select issues which were created or updated in the project 

project = X AND created > -30d OR updated = -30d 


With this approach I am getting all the tickets from all the projects. Could you help me with the right query? 

John Funk Community Leader Jan 07, 2020

The main test is to run it and see if it is provided you with what you expect.  :-)

This should do the trick for you:

project = X AND (created > -30d OR updated > -30d)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Jira issue check and more advanced commit verifications for Bitbucket DC

Pre-receive hooks that verify the Git commit message, the modified files, and implement similar code change controls used to be requirements of large enterprises working in regulated industries only....

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