Documentation

tasks.api.scrum.epic.update

Scope: catalog Permissions to execute: for all

tasks.api.scrum.epic.update(id, fields)

Method updates an epic in Scrum.

All epic fields are available for update. You may skip unmodifiable fields.

Parameters

Parameter Description
id Epic ID.
fields Fields, corresponding to the available list of fields tasks.api.scrum.epic.getFields.

You can pass array with file IDs to the files field, with indicated prefix n. Pass an empty array to files to delete the files.

Example

const epicId = 1;
const name = 'Updated epic name';
const description = 'Updated description text';
const color = '#bbecf1';
const files = ['n429'];

BX24.callMethod(
   'tasks.api.scrum.epic.update',
   {
      id: epicId,
       fields:{
         name: name,
         description: description,
         color: color,
         files: files
       }
   },
   function(res)
   {
      console.log(res);
   }
);

© «Bitrix24», 2001-2024