• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/scrum/form/itemform.php
  • Класс: BitrixTasksScrumFormItemForm
  • Вызов: ItemForm::getFieldsToUpdateItem
public function getFieldsToUpdateItem(): array
{
	$fields = [];

	if ($this->name)
	{
		$fields['NAME'] = $this->name;
	}

	if ($this->description)
	{
		$fields['DESCRIPTION'] = $this->description;
	}

	if ($this->entityId)
	{
		$fields['ENTITY_ID'] = $this->entityId;
	}

	if ($this->typeId)
	{
		$fields['TYPE_ID'] = $this->typeId;
	}

	if ($this->epicId !== null)
	{
		$fields['EPIC_ID'] = $this->epicId;
	}

	if ($this->sort !== null)
	{
		$fields['SORT'] = $this->sort;
	}

	if ($this->createdBy)
	{
		$fields['CREATED_BY'] = $this->createdBy;
	}

	if ($this->modifiedBy)
	{
		$fields['MODIFIED_BY'] = $this->modifiedBy;
	}

	if ($this->storyPoints !== null)
	{
		$fields['STORY_POINTS'] = $this->storyPoints;
	}

	if ($this->info)
	{
		$fields['INFO'] = $this->info;
	}

	return $fields;
}