Comments time using REST API - 5.15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2014 05:46 AM
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 !
Thanks !
ps: please excuse my english, it's not my native language :x
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 !

Thanks !
ps: please excuse my english, it's not my native language :x
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2014 07:20 AM
The time property seems to be missing from the response - please file a jira (or even better - a pull request 😉 )
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2014 08:37 AM
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?
If I can help I gladly will !
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?


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2014 06:18 AM
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,
Account signup is here:
http://xircles.codehaus.org/signup
Activiti JIRA is here:
http://jira.codehaus.org/browse/ACT
Best regards,
