The Teamwork Graph API is available through Forge's Preview release phase.
Preview features are available to all users and receive the same level of support as generally available features. Schemas, fields, and behavior may still change before general availability (GA), and breaking changes are subject to a minimum 1-month deprecation notice, announced in the Teamwork Graph changelog.
To review the current limitations, see Limitations and considerations.
To share feedback or report an issue, visit the Atlassian developer community.
Represents a code branch from Bitbucket or an external version control system.
The Teamwork Graph API has the following fields and properties that you can use in your queries:
You can access these fields in the GraphiQL playground using the book icon in the top left, and then searching for External branch.
| Field | Type | Description |
|---|---|---|
branchId | ID | Identifier of the branch in the external system. |
containerId | ID | Identifier of the container (e.g., repository) that holds this branch. |
createPullRequestUrl | URL | URL to create a pull request from this branch. |
createdAt | DateTime | Timestamp when the branch was created. |
createdBy | User | User who created this branch. |
displayName | String | Display name of the branch. |
id | ID! | Unique identifier for the branch. This ID is globally unique across the entire Teamwork Graph. |
lastUpdatedAt | DateTime | Timestamp of the most recent update to the branch. |
lastUpdatedBy | User | User who last updated this branch. |
name | String | Name of the branch. |
provider | ExternalProvider | Provider or integration that supplies this branch. |
repositoryId | ID | Identifier of the repository containing this branch. |
thirdPartyId | ID | Additional identifier used by the third-party system. |
url | URL | Direct URL to view the branch in its source system. |
| Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier for the external provider. |
logoUrl | URL | URL to the provider's logo image for UI display. |
name | String | Display name of the provider (e.g., "Google Drive", "Dropbox", "GitHub"). |
The following relationships are currently supported for External branch:
Relationships where External branch is the source object.
Rate this page: