JQL syntax for Issues resolved exceeding the 24 hours from the time of Creation?

I wanted to find all the Issues that are Resolved past 24 hours from the time of creation. Please help me to get those issues.

example;

I have created a ticket on 1-July-2017 at 12 pm and resolving it on 2-July-2017 at 1 am i.e. past 24 hours time from the time of creation, I want to fetch this issue through JQL.

1 answer

1 accepted

1 vote
Warren Levy Community Champion Jul 20, 2017

I'm not aware of a way of comparing createdDate and resolutiondate via JQL. When using createdDate, it is expecting either a date (now(), startOfWeek(), "2017-07-20" etc.) or a time period (-1w, 3d etc.). You may need to resort to using the REST API

Thanks for Reply @Warren Levy

Can you provide a start up guide link for this Rest API please?

So that i can start to work on achieve this scenario.

Warren Levy Community Champion Jul 21, 2017

Hi Arunk

See my answer here for some sample C# code.

The following 2 links are the documentation on the various API  calls available :

API v1

API v2

Happy coding

Thank You @Warren Levy for your suggestion

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,308 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot