It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Balaji Balaji Sep 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 Sep 11, 2013

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

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

0 votes
Anand Sub Apr 09, 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?  

 

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

11,111 views 54 53
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you