Answer the question
In order to leave comments, you need to log in
How to get comments left for a task in Bitrix24?
Hello. I just can’t figure out how to get the comments left on the task in Bitrix24.
For example, I pull out the name of the task in this way:
$task = CTasks::GetByID($id)->Fetch();
$cardTitle = $task['TITLE'];
Answer the question
In order to leave comments, you need to log in
Comments are not stored in the issue. They are stored in the forum. This is essentially a discussion thread the same as for discussing goods for example.
See how the output is implemented in the standard tasks.task.detail template using bitrix:forum.comments and dig in this direction.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question