Create
cancel
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

Rest API call to retrieve all worklog information from all issue keys

I am trying to use a Rest API call to get worklog information back.

I have noticed online that one can achieve this by specifying a issue key for example

GET https://######.atlassian.net/rest/api/2/issue/SOL-1414/worklog

 

The above work perfectly, but i am interested in retrieving all issue key's worklog information.

Can someone please assist me?

Regards

Rayno

1 answer

1 accepted

0 votes
Answer accepted

Hi @Rayno Matthee 

I do not believe that is possible, probably for the same performance reasons that data for all issues cannot be retrieved for JQL with more than 100 issues returned; batching is required.  You may want to try a REST API JQL call to get the issue keys you want and then iteratively call the worklog one.

Best regards,

Bill

Hi @Bill Sheboy thank you for responding.

 

Let me try your suggested approach using batching rather and include JQL in the api call.

I will let you know how it goes.

Thank you and regards

Rayno

Like Bill Sheboy likes this

Thank you very much @Bill Sheboy

Your solution worked perfectly.

Have a fantastic weekend.

Like Bill Sheboy likes this

Awesome! I am glad that worked for you.  Have a good one!

Like Rayno Matthee likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center Apps Program coming soon

G’day Bamboo customers, As we approach GA for Bamboo Data Center , we would like to inform you that the Data Center Apps Program for Bamboo starts this quarter. How long does it take? We are g...

69 views 0 6
Read article

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