Forums

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

Get history of tickets transitions with python API

Deleted user August 18, 2020

Hey,

I'm using python API, I'm trying to get the full history of ticket status transitions.

How can I achieve that? Can it possible for more than one ticket?

 

Thanks

2 answers

1 accepted

2 votes
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 18, 2020

Hey there,

When requesting the issue from Jira's API using the get issue method (/issue), you can request changelog as an expand field.

To see what's there, you can take a peek at this on any issue in your site (sub in your own site URL and issue key):

https://example.atlassian.net/rest/api/3/issue/TEST-21?expand=changelog

Then you can filter the results by the field - below you can see an example of a portion of a changelog item showing field: "status" modified when an issue transitioned from To Do to In Progress.

image.png

Cheers,
Daniel

1 vote
Deleted user August 19, 2020

Does it work with the JIRA Python API or a REST API for getting these data?

Suggest an answer

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

Atlassian Community Events