• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/scrum/service/backlogservice.php
  • Класс: BitrixTasksScrumServiceBacklogService
  • Вызов: BacklogService::changeBacklog
public function changeBacklog(EntityForm $backlog): bool
{
	try
	{
		$result = EntityTable::update($backlog->getId(), $backlog->getFieldsToUpdateEntity());

		if ($result->isSuccess())
		{
			return true;
		}
		else
		{
			$this->setErrors($result, self::ERROR_COULD_NOT_UPDATE_BACKLOG);

			return false;
		}
	}
	catch (Exception $exception)
	{
		$this->errorCollection->setError(
			new Error(
				$exception->getMessage(),
				self::ERROR_COULD_NOT_UPDATE_BACKLOG
			)
		);

		return false;
	}
}