E
E
Eldhenn2020-05-26 12:58:13
Bitrix24
Eldhenn, 2020-05-26 12:58:13

How to work with task templates in REST API?

I don't see methods for working with task templates in the documentation. Are they really not there, or do you have to look somewhere in a secret place? There is CTaskItem.addByTemplate in core, but via REST - task.item.addByTemplate - there is no such method.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman, 2020-05-29
@Ramapriya

There is a FORKED_BY_TEMPLATE_ID parameter in the table structure , but for some reason it only adds the template ID, and the name / description, etc. No

E
Eldhenn, 2020-05-29
@Eldhenn

I saw this, but it is read only, according to the structure. And you can’t get a template yourself, yes, and you can’t create it ...
However, I already realized that this is normal for Bitrix.

A
Angelika, 2020-06-05
@borschtWITHgarlic

I am also dealing with this issue. The documentation has a method for setting a task according to the template https://dev.1c-bitrix.ru/api_help/tasks/classes/ct...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question