API reference / Tasks and projects
Make a project of a task
Makes a project of a task. The title of the task is the name of the project, and its brief the description. Its sub-tasks become tasks of the project. Then the task itself goes, with its comments and files, for good. Not for an engineering ticket or a sub-task. Owners, admins and whoever created the task.
/api/v1/tasks/{key}/convert-to-projectOther ways to call it
troopy tasks convertPath parameters
key*stringA task's key (VIR-12), its number (12) or its id
At least 1 characters · At most 40 characters
Response
201 · application/jsondata*object2 properties
project*object19 properties
id*stringA 24-character id
name*stringsummary*stringdescription*stringicon*stringstatus*enum<string>plannedactivepauseddonecanceled
priority*enum<string>noneurgenthighmediumlow
lead*object | null3 properties
type*enum<string>agentperson
id*stringname*stringstartAt*string | nulltargetAt*string | nulltasks*objectIts tasks, canceled ones left out
4 properties
total*integerdone*integeropen*integerneedsYou*integerprogress*integerPercent of its tasks done
milestones*array<object>Steps on the way, in order, each with its tasks (canceled ones left out)
5 properties
id*stringA 24-character id
name*stringtargetAt*string | nulltasks*object2 properties
total*integerdone*integerprogress*integerhealth*enum<string> | nullHow it's going, from its latest status update
on_trackat_riskoff_track
lastUpdateAt*string | nullcreatedBy*objectWho wrote it
3 properties
type*enum<string>personagentapi
id*stringname*stringcreatedAt*stringISO 8601 date and time
updatedAt*stringISO 8601 date and time
version*integermoved*integerHow many sub-tasks became tasks of the project