Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get list of issues created most recently in.

Nageswara Rao Koppisetti
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 1, 2018

Hi All,

I am consuming jira rest API using java.I have consumed this below api this api required issue id as of now i am sending hard code value

https://itc-cloudio.atlassian.net/rest/api/2/issue/10018.

I want to send this issue id dynamically.which is created most recently.Is there any way to get most recently created jira issues.

 

Thanks,

Nageswara.

 

 

 

 

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2018

You should use GET /rest/api/2/search. You can send a jql query to the rest method like 

updated < -1h

As a response you would get all the issues.

You can find more info here:

https://developer.atlassian.com/cloud/jira/platform/rest/#api-api-2-search-get 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events