Forums

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

How can I get the data created and updated last 5 min data using rest API.

Nageswara Rao Koppisetti
Contributor
June 5, 2018

Hi All,

The below rest API   consuming the java.As of now i am getting last one hour records.

But recently my client requirement changed.could you please provide me how to get last 5 min created and updated records in terms of hours i need minutes.can i use same api.how to pass minutes parameters below API.

https://itc-cloudio.atlassian.net/rest/api/2/search?jql=created%3E=-1h%20OR%20updated%3E=-1h

 

Regards,

Nageswara K

 

 

1 answer

1 accepted

0 votes
Answer accepted
Madhura A S
Contributor
June 5, 2018

Hi Nageswara,

replace hour(h) with minute (m) in the above api

https://itc-cloudio.atlassian.net/rest/api/2/search?jql=created%3E=-5m%20OR%20updated%3E=-5m

Regards,

Madhura

Nageswara Rao Koppisetti
Contributor
June 6, 2018

Hi Madhura,

Thank you ..working as expected..

 

Regards,

Nageswara K

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events