1 Reply Latest reply on Mar 15, 2012 4:20 AM by Hardik Dave

    CommentId always remains 0(Zero)

    Hardik Dave Newbie

      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());





      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?



      Hardik Dave