tasks.api.scrum.epic.add
Scope: catalog Permissions to execute: for all
tasks.api.scrum.epic.add(fields)
Method adds an epic to Scrum.
Parameters
Parameter | Description |
---|---|
fields | Fields, corresponding to the available list of fields tasks.api.scrum.epic.getFields.
Fields name and groupId are required. You can pass array with file IDs to the files field, with indicated prefix |
Example
const groupId = 1; const name = 'Epic 1'; const description = 'Description text'; const color = '#69dafc'; const files = ['n428']; BX24.callMethod( 'tasks.api.scrum.epic.add', { fields:{ name: name, groupId: groupId, color: color, files: files } }, function(res) { console.log(res); } );
© «Bitrix24», 2001-2024