Forums

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

Jira Python module worklog maxResults

sergej_gordejchuk
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!
January 13, 2016

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

0 votes
sergej_gordejchuk
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!
January 14, 2016

Issue solved by using separate worklogs method

Naveen B L
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 8, 2017

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

I am trying the same in jira-python

Andrei Plamadă
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!
January 10, 2019 edited

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
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events