• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/scrum/service/taskservice.php
  • Класс: BitrixTasksScrumServiceTaskService
  • Вызов: TaskService::isLinkedTask
private function isLinkedTask(int $taskId): bool
{
	try
	{
		$taskItem = $this->getTaskItemObject($taskId);

		$taskData = $taskItem->getData(false, [
			'select' => ['DEPENDS_ON'],
		]);

		return !empty($taskData['DEPENDS_ON']);
	}
	catch (Exception $exception)
	{
		$this->errorCollection->setError(
			new Error($exception->getMessage(), self::ERROR_COULD_NOT_CHECK_IS_LINKED_TASK)
		);

		return false;
	}
}