Atlassian · Capability
Atlassian Bit Bucket Repositories API — Steps
Atlassian Bit Bucket Repositories API — Steps. 6 operations. Lead operation: Atlassian List Steps for Pipeline. Self-contained Naftiko capability covering one Atlassian business surface.
What You Can Do
GET
Liststepsforpipeline
— Atlassian List Steps for Pipeline
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps
GET
Getlogfileforstep
— Atlassian Get Log File for Step
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/log
GET
Getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
— Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/logs/{log-uuid}
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
GET
Gettestcasesforgivenstepofpipeline
— Atlassian Get Test Cases for Given Step of Pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports/test-cases
GET
Gettestcasereasonsoutputforgiventestcaseinstepofpipeline
— Atlassian Get Test Case Reasons (output) for Given Test Case in Step of Pipeline.
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports/test-cases/{test-case-uuid}/test-case-reasons
MCP Tools
atlassian-list-steps-pipeline
Atlassian List Steps for Pipeline
read-only
idempotent
atlassian-get-log-file-step
Atlassian Get Log File for Step
read-only
idempotent
atlassian-get-logs-build-container
Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.
read-only
idempotent
atlassian-get-summary-test-reports
Atlassian Get Summary of Test Reports for Given Step of Pipeline.
read-only
idempotent
atlassian-get-test-cases-given
Atlassian Get Test Cases for Given Step of Pipeline.
read-only
idempotent
atlassian-get-test-case-reasons
Atlassian Get Test Case Reasons (output) for Given Test Case in Step of Pipeline.
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: Atlassian Bit Bucket Repositories API — Steps
description: 'Atlassian Bit Bucket Repositories API — Steps. 6 operations. Lead operation: Atlassian List Steps for Pipeline.
Self-contained Naftiko capability covering one Atlassian business surface.'
tags:
- Atlassian
- Steps
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-steps
baseUri: https://api.bitbucket.org/2.0
description: Atlassian Bit Bucket Repositories API — Steps business capability. Self-contained, no shared references.
resources:
- name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps
path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps
operations:
- name: liststepsforpipeline
method: GET
description: Atlassian List Steps for 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: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-log
path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log
operations:
- name: getlogfileforstep
method: GET
description: Atlassian Get Log File for Step
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
- name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-logs-lo
path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid}
operations:
- name: getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
method: GET
description: Atlassian Get the Logs for the Build Container or Service Container 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
- name: log_uuid
in: path
type: string
description: For the main build container specify the step UUID; for a service container specify the service container
UUID
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
- 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/test_cases
operations:
- name: gettestcasesforgivenstepofpipeline
method: GET
description: Atlassian Get Test Cases 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
- 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/test_cases/{test_case_uuid}/test_case_reasons
operations:
- name: gettestcasereasonsoutputforgiventestcaseinstepofpipeline
method: GET
description: Atlassian Get Test Case Reasons (output) for Given Test Case in 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
- name: test_case_uuid
in: path
type: string
description: The UUID of the test case.
required: true
authentication:
type: bearer
token: '{{env.ATLASSIAN_API_KEY}}'
exposes:
- type: rest
namespace: bitbucket-repositories-steps-rest
port: 8080
description: REST adapter for Atlassian Bit Bucket Repositories API — Steps. One Spectral-compliant resource per consumed
operation, prefixed with /v1.
resources:
- path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps
name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps
description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps.
operations:
- method: GET
name: liststepsforpipeline
description: Atlassian List Steps for Pipeline
call: bitbucket-repositories-steps.liststepsforpipeline
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pipeline_uuid: rest.pipeline_uuid
outputParameters:
- type: object
mapping: $.
- path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/log
name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-log
description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-log.
operations:
- method: GET
name: getlogfileforstep
description: Atlassian Get Log File for Step
call: bitbucket-repositories-steps.getlogfileforstep
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pipeline_uuid: rest.pipeline_uuid
step_uuid: rest.step_uuid
outputParameters:
- type: object
mapping: $.
- path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/logs/{log-uuid}
name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-logs-lo
description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-logs-lo.
operations:
- method: GET
name: getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
description: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.
call: bitbucket-repositories-steps.getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pipeline_uuid: rest.pipeline_uuid
step_uuid: rest.step_uuid
log_uuid: rest.log_uuid
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-steps.getsummaryoftestreportsforgivenstepofpipeline
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pipeline_uuid: rest.pipeline_uuid
step_uuid: rest.step_uuid
outputParameters:
- type: object
mapping: $.
- path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports/test-cases
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: gettestcasesforgivenstepofpipeline
description: Atlassian Get Test Cases for Given Step of Pipeline.
call: bitbucket-repositories-steps.gettestcasesforgivenstepofpipeline
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pipeline_uuid: rest.pipeline_uuid
step_uuid: rest.step_uuid
outputParameters:
- type: object
mapping: $.
- path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports/test-cases/{test-case-uuid}/test-case-reasons
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: gettestcasereasonsoutputforgiventestcaseinstepofpipeline
description: Atlassian Get Test Case Reasons (output) for Given Test Case in Step of Pipeline.
call: bitbucket-repositories-steps.gettestcasereasonsoutputforgiventestcaseinstepofpipeline
with:
workspace: rest.workspace
repo_slug: rest.repo_slug
pipeline_uuid: rest.pipeline_uuid
step_uuid: rest.step_uuid
test_case_uuid: rest.test_case_uuid
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: bitbucket-repositories-steps-mcp
port: 9090
transport: http
description: MCP adapter for Atlassian Bit Bucket Repositories API — Steps. One tool per consumed operation, routed inline
through this capability's consumes block.
tools:
- name: atlassian-list-steps-pipeline
description: Atlassian List Steps for Pipeline
hints:
readOnly: true
destructive: false
idempotent: true
call: bitbucket-repositories-steps.liststepsforpipeline
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pipeline_uuid: tools.pipeline_uuid
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-log-file-step
description: Atlassian Get Log File for Step
hints:
readOnly: true
destructive: false
idempotent: true
call: bitbucket-repositories-steps.getlogfileforstep
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pipeline_uuid: tools.pipeline_uuid
step_uuid: tools.step_uuid
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-logs-build-container
description: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline.
hints:
readOnly: true
destructive: false
idempotent: true
call: bitbucket-repositories-steps.getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pipeline_uuid: tools.pipeline_uuid
step_uuid: tools.step_uuid
log_uuid: tools.log_uuid
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-steps.getsummaryoftestreportsforgivenstepofpipeline
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pipeline_uuid: tools.pipeline_uuid
step_uuid: tools.step_uuid
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-test-cases-given
description: Atlassian Get Test Cases for Given Step of Pipeline.
hints:
readOnly: true
destructive: false
idempotent: true
call: bitbucket-repositories-steps.gettestcasesforgivenstepofpipeline
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pipeline_uuid: tools.pipeline_uuid
step_uuid: tools.step_uuid
outputParameters:
- type: object
mapping: $.
- name: atlassian-get-test-case-reasons
description: Atlassian Get Test Case Reasons (output) for Given Test Case in Step of Pipeline.
hints:
readOnly: true
destructive: false
idempotent: true
call: bitbucket-repositories-steps.gettestcasereasonsoutputforgiventestcaseinstepofpipeline
with:
workspace: tools.workspace
repo_slug: tools.repo_slug
pipeline_uuid: tools.pipeline_uuid
step_uuid: tools.step_uuid
test_case_uuid: tools.test_case_uuid
outputParameters:
- type: object
mapping: $.