Forums

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

Fetch all updated issues from rest APIs for a specific date

leveldc
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!
March 4, 2020

my scenario is to fetch all updated issues form JIRA form its rest APIs for a specific date, but seems my request  parameters was not work, it alwas returns me all the issues.

the request I send to jira like this: 

curl  -D- -u myaccount:mypassword -X GET -H "Content-Type:applicaiton/json" --data '{"jql" : "updated > 2020-03-05"}'  http://myjiraIPandPort/rest/api/2/search

but if I create this filter in jira web page "updated > 2020-03-05", it will work,

thanks for your help.

 

1 answer

0 votes
Thomas Deiler
Community Champion
May 4, 2021

Dear @leveldc ,

have you tried instead

curl -D- -u myaccount:mypassword -X GET -H "Content-Type:applicaiton/json" http://myjiraIPandPort/rest/api/2/search?jql=updated+>+2020-03-05

So long

Thomas

Thomas Deiler
Community Champion
May 4, 2021

Jay! First response after one year. Great SLA! ;)

Tuncay Senturk _Snapbytes_
Community Champion
May 5, 2021

Hahah, at least there is an answer now :) 

Suggest an answer

Log in or Sign up to answer