Is commentID "ID" sequential and unique, can i assume greatest/highest comment id will be the latest comment
Community moderators have prevented the ability to post new answers.
Generally, within an individual issue, that is a safe assumption.
Thanks Nic !!! I will assume highest/greatest comment id will have latest comment.
Do you have any other way to pull the latest comment.
The reason of going with highest/greatest comment id is :
I tried to put the comment using rest api program in loop and found that same timestamp has been recorded for more than one comment and it is happening because millisecond is getting ignored.
{
"id" : "920608",
"body" : "Test_1,
"created" : "2016-04-14T12:25:06.000-0500",
"updated" : "2016-04-14T12:25:06.000-0500"
}, {
"id" : "920609",
"body" : "Test_2",
"created" : "2016-04-14T12:25:06.000-0500",
"updated" : "2016-04-14T12:25:06.000-0500"
}
So i can't use timestamp to find out latest comment . So , thought of using highest/greatest comment id to get the latest comment ...
Am I doing right ?My requirement is get latest comment for an individual story/epic
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I think you are - when someone starts a comment (i.e. clicking "save"), the code gets a guaranteed unique id and the counter moves on, so the next commenter gets a newer, higher id. Even if they click in the same millisecond, the person whose request arrives second will get the higher id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.