Atlassian · Capability
Atlassian Bit Bucket Repositories API — Reports
Atlassian Bit Bucket Repositories API — Reports. 5 operations. Lead operation: Atlassian List Reports. Self-contained Naftiko capability covering one Atlassian business surface.
What You Can Do
GET
Listreports
— Atlassian List Reports
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports
PUT
Createorupdatereport
— Atlassian Create or Update Report
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}
GET
Getreport
— Atlassian Get Report
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}
DELETE
Deletereport
— Atlassian Delete Report
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}
GET
Getsummaryoftestreportsforgivenstepofpipeline
— Atlassian Get Summary of Test Reports for Given Step of Pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports
MCP Tools
atlassian-list-reports
Atlassian List Reports
read-only
idempotent
atlassian-create-update-report
Atlassian Create or Update Report
idempotent
atlassian-get-report
Atlassian Get Report
read-only
idempotent
atlassian-delete-report
Atlassian Delete Report
idempotent
atlassian-get-summary-test-reports
Atlassian Get Summary of Test Reports for Given Step of Pipeline.
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Atlassian Bit Bucket Repositories API — Reports
description: 'Atlassian Bit Bucket Repositories API — Reports. 5 operations. Lead operation: Atlassian List Reports. Self-contained
Naftiko capability covering one Atlassian business surface.'
tags:
- Atlassian
- Reports
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
consumes:
- type: http
namespace: bitbucket-repositories-reports
baseUri: https://api.bitbucket.org/2.0
description: Atlassian Bit Bucket Repositories API — Reports business capability. Self-contained, no shared references.
resources:
- name: repositories-workspace-repo_slug-commit-commit-reports
path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports
operations:
- name: listreports
method: GET
description: Atlassian List Reports
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
`{workspace UUID}`.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: commit
in: path
type: string
description: The commit for which to retrieve reports.
required: true
- name: repositories-workspace-repo_slug-commit-commit-reports-reportId
path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
operations:
- name: createorupdatereport
method: PUT
description: Atlassian Create or Update Report
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
`{workspace UUID}`.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: commit
in: path
type: string
description: The commit the report belongs to.
required: true
- name: reportId
in: path
type: string
description: Either the uuid or external-id of the report.
required: true
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: getreport
method: GET
description: Atlassian Get Report
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
`{workspace UUID}`.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: commit
in: path
type: string
description: The commit the report belongs to.
required: true
- name: reportId
in: path
type: string
description: Either the uuid or external-id of the report.
required: true
- name: deletereport
method: DELETE
description: Atlassian Delete Report
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
`{workspace UUID}`.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: commit
in: path
type: string
description: The commit the report belongs to.
required: true
- name: reportId
in: path
type: string
description: Either the uuid or external-id of the report.
required: true
- name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re
path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports
operations:
- name: getsummaryoftestreportsforgivenstepofpipeline
method: GET
description: Atlassian Get Summary of Test Reports for Given Step of Pipeline.
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: workspace
in: path
type: string
description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
`{workspace UUID}`.
required: true
- name: repo_slug
in: path
type: string
description: The repository.
required: true
- name: pipeline_uuid
in: path
type: string
description: The UUID of the pipeline.
required: true
- name: step_uuid
in: path
type: string
description: The UUID of the step.
required: true
authentication:
type: bearer
token: '{{env.ATLASSIAN_API_KEY}}'
exposes:
- type: rest
namespace: bitbucket-repositories-reports-rest
port: 8080
description: REST adapter for Atlassian Bit Bucket Repositories API — Reports. One Spectral-compliant resource per consumed
operation, prefixed with /v1.
resources:
- path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports
name: repositories-workspace-repo-slug-commit-commit-reports
description: REST surface for repositories-workspace-repo_slug-commit-commit-reports.
operations:
- method: GET
name: listreports
description: Atlassian List Reports
call: bitbucket-repositories-reports.listreports
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
commit: rest.commit
outputParameters:
- type: object
mapping: $.
- path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}
name: repositories-workspace-repo-slug-commit-commit-reports-reportid
description: REST surface for repositories-workspace-repo_slug-commit-commit-reports-reportId.
operations:
- method: PUT
name: createorupdatereport
description: Atlassian Create or Update Report
call: bitbucket-repositories-reports.createorupdatereport
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
commit: rest.commit
reportId: rest.reportId
body: rest.body
outputParameters:
- type: object
mapping: $.
- method: GET
name: getreport
description: Atlassian Get Report
call: bitbucket-repositories-reports.getreport
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
commit: rest.commit
reportId: rest.reportId
outputParameters:
- type: object
mapping: $.
- method: DELETE
name: deletereport
description: Atlassian Delete Report
call: bitbucket-repositories-reports.deletereport
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
commit: rest.commit
reportId: rest.reportId
outputParameters:
- type: object
mapping: $.
- path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports
name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-test-re
description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re.
operations:
- method: GET
name: getsummaryoftestreportsforgivenstepofpipeline
description: Atlassian Get Summary of Test Reports for Given Step of Pipeline.
call: bitbucket-repositories-reports.getsummaryoftestreportsforgivenstepofpipeline
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pipeline_uuid: rest.pipeline_uuid
step_uuid: rest.step_uuid
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: bitbucket-repositories-reports-mcp
port: 9090
transport: http
description: MCP adapter for Atlassian Bit Bucket Repositories API — Reports. One tool per consumed operation, routed
inline through this capability's consumes block.
tools:
- name: atlassian-list-reports
description: Atlassian List Reports
hints:
readOnly: true
destructive: false
idempotent: true
call: bitbucket-repositories-reports.listreports
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
commit: tools.commit
outputParameters:
- type: object
mapping: $.
- name: atlassian-create-update-report
description: Atlassian Create or Update Report
hints:
readOnly: false
destructive: false
idempotent: true
call: bitbucket-repositories-reports.createorupdatereport
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
commit: tools.commit
reportId: tools.reportId
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-report
description: Atlassian Get Report
hints:
readOnly: true
destructive: false
idempotent: true
call: bitbucket-repositories-reports.getreport
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
commit: tools.commit
reportId: tools.reportId
outputParameters:
- type: object
mapping: $.
- name: atlassian-delete-report
description: Atlassian Delete Report
hints:
readOnly: false
destructive: true
idempotent: true
call: bitbucket-repositories-reports.deletereport
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
commit: tools.commit
reportId: tools.reportId
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-summary-test-reports
description: Atlassian Get Summary of Test Reports for Given Step of Pipeline.
hints:
readOnly: true
destructive: false
idempotent: true
call: bitbucket-repositories-reports.getsummaryoftestreportsforgivenstepofpipeline
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pipeline_uuid: tools.pipeline_uuid
step_uuid: tools.step_uuid
outputParameters:
- type: object
mapping: $.