Forums

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

How to get last modified comment or changelog for a given jira ISSUE via REST API

Blackoasis
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!
July 14, 2019

Hi guys,

is there any help out there how to get the changelog/history of an issue via the python client lib?

I found an outdated solution, but was not able to make it work.

https://community.atlassian.com/t5/Jira-questions/Is-it-possible-to-get-the-issue-history-using-the-REST-API/qaq-p/510094

It's perfectly what I need as data.

Many thanks for your support! :-)

 

1 answer

0 votes
Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 15, 2019

Hi @Blackoasis 

The following should work :

/rest/api/3/issue/ABC-123?expand=changelog

you will then need to iterate through the changelog.histories and within each of these, iterate through the items.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events