Jira Python module worklog maxResults

Hi everyone,

 

I'm using JIRA module for python for using API, everything works well but after receiving info about issue I have maxResult = 20 for worklog field.

 

How can I fix it? There're expand parameter for issue method but documentation didn't say how to use it.

1 answer

Issue solved by using separate worklogs method

Could you please explain in detail about the seperate method used by you..?

I am trying the same in jira-python

as mentioned just use worklogs method 

jql_str = "assignee = currentUser()"
issues = jira.search_issues(jql_str, maxResults=False)
for issue in issues:
worklogs=jira.worklogs(issue.id)
for worklog in worklogs:
...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

248 views 0 6
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you