I
I
Ivan Petrov2017-04-15 13:31:50
Bitrix24
Ivan Petrov, 2017-04-15 13:31:50

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'];

And I did not find the field responsible for comments in the documentation. How can you get? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-06-13
Madzhugin @Suntechnic

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 question

Ask a Question

731 491 924 answers to any question