MyChat Scripts: function mKanbanGetProjectIDByTaskID — get Kanban project ID by a task ID
"For developers", "Server scripts", "Functions description", "Kanban project management", "mKanbanGetProjectIDByTaskID".
Get the Kanban project ID by its task number places on the one of project's stages.
Syntax
function mKanbanGetProjectIDByTaskID(const iTaskID: integer): integer;
Parameters and return values
Parameter |
Type |
Value |
iTaskID |
integer |
task ID, number |
Function result
>0 |
ID of the found project; |
-1 |
incorrect or non-existent task ID on Kanban board. |