Asana · Schema

GoalAddSubgoalRequest

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow

Properties

Name Type Description
subgoal string The goal gid to add as subgoal to a parent goal
insert_before string An id of a subgoal of this parent goal. The new subgoal will be added before the one specified here. `insert_before` and `insert_after` parameters cannot both be specified.
insert_after string An id of a subgoal of this parent goal. The new subgoal will be added after the one specified here. `insert_before` and `insert_after` parameters cannot both be specified.
View JSON Schema on GitHub

JSON Schema

asana-goaladdsubgoalrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GoalAddSubgoalRequest",
  "title": "GoalAddSubgoalRequest",
  "type": "object",
  "required": [
    "subgoal"
  ],
  "properties": {
    "subgoal": {
      "description": "The goal gid to add as subgoal to a parent goal",
      "type": "string",
      "example": "1331"
    },
    "insert_before": {
      "description": "An id of a subgoal of this parent goal. The new subgoal will be added before the one specified here. `insert_before` and `insert_after` parameters cannot both be specified.",
      "type": "string",
      "example": "1331"
    },
    "insert_after": {
      "description": "An id of a subgoal of this parent goal. The new subgoal will be added after the one specified here. `insert_before` and `insert_after` parameters cannot both be specified.",
      "type": "string",
      "example": "1331"
    }
  }
}