cancel
Showing results for 
Search instead for 
Did you mean: 

Comments time using REST API - 5.15

kyou
Champ in-the-making
Champ in-the-making
Hey!

I just have a simple question, but I struggle to find the answer on my own : how can we retrieve a comment time using activiti-rest ?

In the database, there is a field Time, but the object returned by the GET Request doesn't have that field :x

<javascript>
{
  "id" : "123",
  "url" : "http://localhost:8081/activiti-rest/history/historic-process-instances/100/comments/123",
  "message" : "This is a comment.",
  "author" : "kermit"
}
</javascript>

If someone has a trick to get it, crossing REST Request or anything else, I'll be happy to hear it ! Smiley Very Happy

Thanks !

ps: please excuse my english, it's not my native language :x

3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
The time property seems to be missing from the response - please file a jira (or even better -  a pull request 😉 )

kyou
Champ in-the-making
Champ in-the-making
Hi ! thanks for the answer, and I apologize for not thanking you earlier !

I found where the missing line was, but I've for now never participate to an open project, do you have a link to explain me how I could file a jira or make a pull request? Smiley Very Happy If I can help I gladly will !

trademak
Star Contributor
Star Contributor
In the Github master the time property is now added to CommentResponse, so no need to create a JIRA issue for this.
Account signup is here:

http://xircles.codehaus.org/signup

Activiti JIRA is here:

http://jira.codehaus.org/browse/ACT

Best regards,