• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/scrum/form/entityform.php
  • Класс: BitrixTasksScrumFormEntityForm
  • Вызов: EntityForm::getFieldsToCreateSprint
public function getFieldsToCreateSprint(): array
{
	$this->checkRequiredParametersToCreateSprint();

	return [
		'GROUP_ID' => $this->getGroupId(),
		'ENTITY_TYPE' => self::SPRINT_TYPE,
		'NAME' => $this->getName(),
		'SORT' => $this->getSort(),
		'CREATED_BY' => $this->getCreatedBy(),
		'MODIFIED_BY' => $this->getCreatedBy(),
		'DATE_START' => $this->getDateStart(),
		'DATE_END' => $this->getDateEnd(),
		'STATUS' => $this->getStatus() === '' ? self::SPRINT_PLANNED : $this->getStatus(),
	];
}