Forums

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

Using Pyhon, list all details of History logs and Worklog

Chahe Adourian
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!
June 23, 2020

Hi,

 

I am able to get the history log but only partially. I can get the status updates but none of the comments attached to the history. I need the comments.

Similarly, how do we get the Worklogs.

I need to do all this using Python.

 

For histories, I have the following basic loop:

from jira import JIRA
subissue = jira.issue('DEV-XYZ',expand='changelog')
for history in subissue.changelog.histories:
print(vars(history))

For WorkLog, I have no idea how to access it.

 

Many thanks


Chahé

1 answer

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events