Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get all Worklogs using JIRA API

Hello Gurus

Need your expert advice here as I am just exploring around. I am able to get issue specific Worklog using this

But I wanted to know how can I extract all worklogs for last 6 months ? 

The thing is I had JIRA db access but now since we are on cloud hence need to pull info using API. 

Need to extract Worklog, Issue, Project etc. 

Any tips on how to follow from this one

2 answers

Hi Amit,

You're on the right track but wrong endpoint / version of the API.

I'd recommend using this one:



Thank you for the info but v3 isnt working instead V2 is working for me.

I need to know how to get list of all worklogs, issues. 

I guess I might have to use 

Get issue

GET /rest/api/3/issue/{issueIdOrKey}

Get issue worklogs

GET /rest/api/3/issue/{issueIdOrKey}/worklog


etc and so on. 

0 votes
Daniel Ebers Community Leader Jul 14, 2021

Hi @Amit Naik

I believe this is correct - referring to documentation this endpoint can be used to query for worklogs. However, if you should have meant it in a way the call must return "all worklogs from all issues - at a time" I don't support this is going to work.

The request

GET /rest/api/3/issue/{issueIdOrKey}/worklog

gets you the worklog for an issue, you would have to repeat in a loop for example:

GET /rest/api/3/issue/NET-234/worklog
GET /rest/api/3/issue/NET-235/worklog


Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you