• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/scrum/controllers/dod.php
  • Класс: BitrixTasksScrumControllersDoD
  • Вызов: DoD::isNecessaryForTask
private function isNecessaryForTask(int $groupId, int $userId, TypeForm $type): bool
{
	$participantsIds = [];

	if (!$type->isEmpty())
	{
		$participantsIds = $this->getParticipantsIds($groupId, $type->getParticipantsCodes());
	}

	return in_array($userId, $participantsIds);
}