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

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

Accepted Answer
0 votes

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

0 votes
Timothy Chin Community Champion Sep 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.

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?  

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,196 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you