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

Balaji Balaji September 10, 2013

Hi All,

I want to know how to get last modified comment or changelog information for given jira ISSUE via REST API. Currently When we get data via REST for an ISSUE we get all the comments exist and similarly if we expand REST API to get changelog(?expand=changelog) we all the changelog exists for the given ISSUE.

Please advice me how to do it. Thanks in advance.

Thanks,

Balaji Kandasamy

3 answers

1 accepted

0 votes
Answer accepted
Balaji Balaji September 11, 2013

So that mean iterating all the comments or changelog is the only option available. Wierd !!

0 votes
Anand Subramanian April 9, 2015

I have the same need. Need to query comments after a particular date (and also on a custom field if possible). 

Were you able to get the answer?  

 

0 votes
Timothy
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.
September 10, 2013

You'll have to loop through the objects to get the latest. Can't remember if it is ordered but you can try getting the last array.

Suggest an answer

Log in or Sign up to answer