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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,888
Community Members
 
Community Events
176
Community Groups

Return more than 5000 worklogs for a given issue

using the following python code I get a returned value of 5000 worklogs for any issue that I input:

jira = JIRA(options, basic_auth=(user,apikey))
jira.worklogs(issue='ABC-123')

 

This wasn't the case about a month ago. Is there any workaround for this or a change I can make to my python code to only get the most recent worklogs for a specific issue via jql or something?

1 answer

Hello @kleb12 

You seem to be using some third party Python module which is providing that jira.worklogs() function. Have you checked with the publisher of that module?

The v3 REST API of Jira Cloud has always returned 5,000 worklogs per issue per request by default and you need to use the startAt parameter to move to next page of worklog records (read the docs), so it's not clear how you were able to get more results than that before.

What happens when you make a raw query to the REST API endpoint with a test tool like Postman etc?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events