Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I call Bitbucket API from pipeline context?

Aaron Bauman
Contributor
September 10, 2019

Does pipelines expose any kind of privileged method for invoking a Bitbucket API call?

Specifically, I'm trying to access the pull-request endpoint to get more information during PR builds that isn't available by default.

 

I'm really struggling to find complete coherent documentation for pipelines.

There's a smattering of "how to" guides https://confluence.atlassian.com/bitbucket/build-test-and-deploy-with-pipelines-792496469.html but i can't find proper  reference docs.

 

 

1 answer

0 votes
mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 8, 2019

what about this tutorial on uploading files to bitbucket? https://confluence.atlassian.com/bitbucket/deploy-build-artifacts-to-bitbucket-downloads-872124574.html

it provides details on how to generate an app password that can be used to invoke bitbucket apis with given privileges.

Dmitry Trukhanov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 5, 2021

How about passwordless alternatives?

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events