How to get just assignee change history via rest api

arama mihai
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.
March 13, 2018

Hello,

I'm using the following: 

http://jira/rest/api/2/search?jql=issueKey=DRT-124&expand=changelog

to show the entire Change Log for an issue in JIRA.

I would like to show directly only the changes made to the assignee field, or any other certain field perhaps.

Is this possible? If yes, how?

Thank you.

 

PS:

I found /rest/api/2/issue/DRT-124?expand=changelog&fields=assignee

but this shows the changes made to other fields as well.

1 answer

1 accepted

1 vote
Answer accepted
Randy
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.
April 6, 2018

use /issue/DRT-123/changelog then iterate through and grab only the assignee field changes.

REST doesnt support filtering the changelog itself other than pagenation.

the fields param you were trying simply returns the fields returned in the response (outside of changelog)

Suggest an answer

Log in or Sign up to answer