Task task = taskService.getTask(taskId);
TaskData data = task.getTaskData();
List<Comment> comments = data.getComments();
for(Comment comment:comments){
System.out.println("Comment Id:"+comment.getId());
System.out.println("Commented by:"+comment.getAddedBy());
System.out.println("Commented at:"+comment.getAddedAt());
System.out.println("Comment:"+comment.getText());
}
During my testing of the code above I found that I always find the commentId=0(Zero). All other fields I get properly. Is it a bug?
Regards,
Hardik Dave
Can anyone help me on this issue?
Because I don't even know that is it a bug or not?
I searched it on JIRA but couldn't find anything about this.
Regards,
Hardik Dave