Rate this page:
The issue resources provide functionality for getting information on issues in an issue tracker, creating new issues, updating them and deleting them. You can access public issues without authentication, but you can't gain access to private repositories' issues. By authenticating, you will get the ability to create issues, as well as access to updating data or deleting issues you have access to.
GET /2.0/repositories/{workspace}/{repo_slug}/components
Returns the components that have been defined in the issue tracker. This resource is only available on repositories that have the issue tracker enabled.
issue
string
This can either be the repository slug or the UUID of the repository,
surrounded by curly-braces, for example: {repository UUID}
.
string
This can either be the workspace ID (slug) or the workspace UUID
surrounded by curly-braces, for example: {workspace UUID}
.
1 2 3 4
curl --request GET \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/components' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
The components that have been defined in the issue tracker.
Content type | Value |
---|---|
application/json |
GET /2.0/repositories/{workspace}/{repo_slug}/components/{component_id}
Returns the specified issue tracker component object.
issue
integer
The component's id
string
This can either be the repository slug or the UUID of the repository,
surrounded by curly-braces, for example: {repository UUID}
.
string
This can either be the workspace ID (slug) or the workspace UUID
surrounded by curly-braces, for example: {workspace UUID}
.
1 2 3 4
curl --request GET \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/components/{component_id}' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
GET /2.0/repositories/{workspace}/{repo_slug}/issues
Returns the issues in the issue tracker.
issue
string
This can either be the repository slug or the UUID of the repository,
surrounded by curly-braces, for example: {repository UUID}
.