title: How to get the latest comment from a Jira story/Epic/Task
body: <p>I have requirement to get the latest comment from a Jira issue. I am using rest api <code>jira/rest/api/2/issue/ASK-101/comment</code> to get all the comments for a particular issue. I am using jira atlassian version 2.</p>
  
  <p>I update the comment using program so, i found same time stamp for few comments. Like below:</p>
  
  <pre><code>{                                              
      "id" : "920608",                            
      "body" : "Test987",                         
      "created" : "2016-04-14T12:25:06.000-0500", 
      "updated" : "2016-04-14T12:25:06.000-0500"  
  } , {                                            
      "id" : "920609",                           
      "body" : "Test987",                        
      "created" : "2016-04-14T12:25:06.000-0500",
      "updated" : "2016-04-14T12:25:06.000-0500" 
  }               
  </code></pre>
  
  <p>So i can't find the latest comment with the latest timestamp as one timestamp can have multiple comment.<br>
  I see "ID" parameter which seems to be unique. Can i assume higher/max id will have the latest comment?<br>
  Is "ID" unique?<br>
  Does comment rest api guarantee to order comment data in sorted order, can i simply loop in comments array and assume last one is latest.                               </p>