Erfan pj
Erfan pj

Reputation: 381

Jira Rest Api for getting newest ticket

how can i get json of newest ticket in jira Queue page for below link

projects/assitance1/queues/custom/5

Upvotes: 0

Views: 396

Answers (2)

hubpixel
hubpixel

Reputation: 339

This query via the REST API search endpoint will provide you with the list of tickets ordered by the created date, newest tickets first:

https://your.jira.host/rest/api/2/search?jql=+order+by+created+desc

Upvotes: 0

Saleh Parsa
Saleh Parsa

Reputation: 1433

I don't think there is a specific REST Endpoint available for that. But I believe you can query it via the JQL. If that's suits, you can use rest/api/2/search?jql=

Upvotes: 2

Related Questions