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

This widget could not be displayed.

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

This widget could not be displayed.
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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

146 views 2 0
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