The Teamwork Graph API is coming soon. The object and relationship types documented here are indicative of what will be available in the Graph via the Teamwork Graph API. Please note that relationships, objects, their properties, and functionality may change before and during the Early Access Program.
Interested in early access? Express your interest in joining the EAP
The AtlassianGoalHasAtlassianGoalUpdate relationship represents the link between a Townsquare goal and a Townsquare goal update within the Teamwork Graph. It allows you to:
Relationship type: Canonical
| From object types | To object types |
|---|---|
Townsquare Goal - ati:cloud:townsquare:goal | Townsquare Goal Update - ati:cloud:townsquare:goal-update |
We recommend sending parameterized Cypher queries as below instead of embedding the parameters directly in the query string. This approach will help ensure better performance.
1 2query AtlassianGoalHasAtlassianGoalUpdate_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) { cypherQuery(query: $cypherQuery, params: $params) { edges { node { columns { value { ... on CypherQueryResultNode { id data { __typename ... on TownsquareGoalUpdate { id } } } } } } } } }
1 2{ "cypherQuery": "MATCH (goal:TownsquareGoal {ari: $id})-[:atlassian_goal_has_atlassian_goal_update]->(update:TownsquareGoalUpdate) RETURN update", "params": { "id": "$id" } }
1 2query AtlassianGoalHasAtlassianGoalUpdate_CypherQuery($cypherQuery: String!, $params: CypherRequestParams) { cypherQuery(query: $cypherQuery, params: $params) { edges { node { columns { value { ... on CypherQueryResultNode { id data { __typename ... on TownsquareGoal { id } } } } } } } } }
1 2{ "cypherQuery": "MATCH (goal:TownsquareGoal)-[:atlassian_goal_has_atlassian_goal_update]->(update:TownsquareGoalUpdate {ari: $id}) RETURN goal", "params": { "id": "$id" } }
This relationship is not indexed, you will not be able to filter by this metadata when querying the relationship.
| Name | Type | Properties |
|---|---|---|
oldStatus | OldStatus (Enum) | required |
newStatus | NewStatus (Enum) | required |
oldConfidence | OldConfidence (Enum) | required |
newConfidence | NewConfidence (Enum) | required |
oldScore | Long | |
newScore | Long | required |
oldTargetDate | Long | |
newTargetDate | Long | required |
creationDate | Long | required |
lastUpdated | Long | required |
updateType | UpdateType (Enum) | required |
createdBy | Ari (Message) | required |
lastEditedBy | Ari (Message) |
When filtering by ARI in GraphQL, it will behave as a String rather than a message as shown below.
| Name | Type | Properties |
|---|---|---|
value | String |
| Name | Internal Name | Index |
|---|---|---|
NOT_SET | OLD_STATUS_NOT_SET | 0 |
NULL | OLD_STATUS_NULL | 100 |
OFF_TRACK | OLD_STATUS_OFF_TRACK | 110 |
AT_RISK | OLD_STATUS_AT_RISK | 120 |
ON_TRACK | OLD_STATUS_ON_TRACK | 130 |
PENDING | OLD_STATUS_PENDING | 140 |
PAUSED | OLD_STATUS_PAUSED | 150 |
DONE | OLD_STATUS_DONE | 160 |
CANCELLED | OLD_STATUS_CANCELLED | 170 |
| Name | Internal Name | Index |
|---|---|---|
NOT_SET | NEW_STATUS_NOT_SET | 0 |
OFF_TRACK | NEW_STATUS_OFF_TRACK | 110 |
AT_RISK | NEW_STATUS_AT_RISK | 120 |
ON_TRACK | NEW_STATUS_ON_TRACK | 130 |
PENDING | NEW_STATUS_PENDING | 140 |
PAUSED | NEW_STATUS_PAUSED | 150 |
DONE | NEW_STATUS_DONE | 160 |
CANCELLED | NEW_STATUS_CANCELLED | 170 |
| Name | Internal Name | Index |
|---|---|---|
NOT_SET | OLD_CONFIDENCE_NOT_SET | 0 |
NULL | OLD_CONFIDENCE_NULL | 100 |
DAY | OLD_CONFIDENCE_DAY | 110 |
MONTH | OLD_CONFIDENCE_MONTH | 120 |
QUARTER | OLD_CONFIDENCE_QUARTER | 130 |
| Name | Internal Name | Index |
|---|---|---|
NOT_SET | NEW_CONFIDENCE_NOT_SET | 0 |
DAY | NEW_CONFIDENCE_DAY | 110 |
MONTH | NEW_CONFIDENCE_MONTH | 120 |
QUARTER | NEW_CONFIDENCE_QUARTER | 130 |
| Name | Internal Name | Index |
|---|---|---|
NOT_SET | UPDATE_TYPE_NOT_SET | 0 |
SYSTEM | UPDATE_TYPE_SYSTEM | 110 |
USER | UPDATE_TYPE_USER | 120 |
Rate this page: