Forums

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

Get Worklogs of specific Projects

Long Bui
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!
October 17, 2022

Hi all,
I have a program to integrate with the JIRA cloud for fetching work logs to my local host. 
The question is, can we fetch work logs that are updated since UNIX of the specific projects?
JIRA 7.6.1 (atlassian.com)


Via this document, I can access query work logs that are updated since UNIX of the specific projects. 

 

We can fetch issues first and then fetch work logs, but it will explode our request and reach the the restricted of JIRA

1 answer

0 votes
Walter Buggenhout
Community Champion
October 18, 2022

Hi @Long Bui and welcome to the Community!

If your question is about Jira cloud, you are referencing the wrong API documentation. The link you shared is about the server platform. You can find the corresponding documentation for cloud over here.

If the REST call does not allow you to filter for a specific project, you'll need to find a different way to work around the imposed limits. Two things about that, maybe:

  • If you are trying to fetch updated worklogs, that will usually not be that many. People in general do not update their worklogs that much. So maybe you are looking at a non-issue here.
  • If you need to limit the amount of returning worklogs anyway, then you should resolve that in your code, by limiting the number of id's in a single call. In short, split the number of id's (if you have many) and fetch the worklog id's through a number of similar calls.

Hope this helps! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events