Forums

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

Recommended way to get my own worklogs through the REST API

Adrian Fahrbach
October 24, 2023

I'm trying to get all of my worklogs with details through the JIRA API and I'm not quite sure if my approach is correct. It seems very counter intuitiv:

  1. Get all worklog ids using `/rest/api/3/worklog/updated`
  2. Send all of those ids to `/rest/api/3/worklog/list`
  3. Filter the result of the previous call by author

 

So my questions are:

  1. Do I really need to make two calls and filter them on my own or is there some kind of filter property hidden somewhere?
  2. Is there a way to sort `/rest/api/3/worklog/updated` to get the latest logs first or do I really have to loop through all pages until I reached the end?

2 answers

4 votes
Joe Pitt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 26, 2018

Not unless the plugin itself has a way to turn it on/off at the project level. 

0 votes
Chinmaya Behera
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!
September 18, 2023

This can be done , whne you go to Project Setting>App>select your app, most of the apps will have a button to activate/deactivate for the specific project.

Michael diLorenzo
Contributor
September 21, 2023

This is not the case.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events