Worklog API issue

Hi.

Our Jira is cloud-based.

I have got a task to sync Worklogs from Jira to 3rd party system.

I use Jira REST API to get the list of updated worklogs.

https://docs.atlassian.com/jira/REST/cloud/#api/2/worklog

However, the response (always) does not include Worklog records, which are older then 24/march/2017 ("until"="1490348428803" in response)

For example, when i call all updated timelogs from 21 march

https://3cconsult.atlassian.net/rest/api/2/worklog/updated?since=1490050800000

I get 

{"values":[{"worklogId":10900,"updatedTime":1490348428803,"properties":[]}],"since":1490050800000,"until":1490348428803,"self":"https://3cconsult.atlassian.net/rest/api/2/worklog/updated?since=1490050800000","lastPage":true}

in response.

 

However, when i call all updated Timelogs from 5 May until now:

https://3cconsult.atlassian.net/rest/api/2/worklog/updated?since=1493938800000

or

https://3cconsult.atlassian.net/rest/api/2/worklog/updated?since=1493938800000&until=1495670400000

i get empty response with "until"= request's "since"

{

"values": [],
"since": 1493938800000,
"until": 1493938800000,
"self": "https://3cconsult.atlassian.net/rest/api/2/worklog/updated?since=1493938800000",
"lastPage": true
}

Is there any way to control "since" parameter?

 

 

 

 

 

 

 

 

0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

247 views 0 11
Read article

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