Get full changelog in jql request.

Dharmraj Chauhan February 17, 2024

I am requesting below API to fetch the specific issues by their type and project.

i am using python requests library to get the query response.
query_params = {

    'jql':project = "{product_name}" AND issuetype in (Story, Bug),
    'fields''key,id,created,status,resolutiondate,resolution,fixVersions,summary,creator',
    'expand': 'changelog',
    'startAt': start_at
}
Currently, i am getting 100 as max changelog history. which is not correct for me.
See, this below image, for understanding..
image.png

2 answers

2 accepted

1 vote
Answer accepted
Kalyan Sattaluri
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.
February 17, 2024

Hello @Dharmraj Chauhan 

Please use full changelog end point and implement pagination in your script to get dull data.

Reference post.

Kalyan Sattaluri
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.
February 17, 2024

*full

BTW, its obvious but stating anyways that you need to make this API call for each issue.

Dharmraj Chauhan February 25, 2024

Thanks for your response.

Like Kalyan Sattaluri likes this
0 votes
Answer accepted
Humashankar VJ
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.
February 17, 2024

This looks interesting 

Suggest an answer

Log in or Sign up to answer