Goals

Get parent goals from a goal

Changed on

<b>Required scope: </b><code>goals:read</code>

Returns a compact representation of all of the parent goals of a goal.

get/goals/{goal_gid}/parentGoals

Request

  • Base URL: https://app.asana.com/api/1.0
  • URL: https://app.asana.com/api/1.0/goals/{goal_gid}/parentGoals
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.asana.com/-/oauth_authorize, token URL https://app.asana.com/-/oauth_token, scopes: goals:read)

Query parameters

opt_fieldsstring[]

This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include. Properties can include nested fields. To learn more, see the input/output options guide.

Response

Successfully retrieved the specified goal's parent goals.

Example response

{
  "data": [
    {
      "gid": "12345",
      "resource_type": "goal",
      "name": "Grow web traffic by 30%",
      "owner": {
        "gid": "12345",
        "resource_type": "user",
        "name": "Greg Sanchez"
      }
    }
  ]
}

Changes

    • info

      added the enum value custom_field_settings.custom_field.html_text_value to the property items/ of the query request parameter opt_fields