Forums

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

Access Images in Bitbucket pull request description via API?

Tyler Mann
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!
August 18, 2022

Is there a way to access images that are uploaded to the body of a pull request via Bitbucket API? For example the images get converted to have a format like this: "https://bitbucket.org/repo/<repo>/images/<imageid>-image.png"

Accessing this kind of url seems to require session authentication. I am wondering if there is an API or way to access these images programmatically using an oauth token or access token?

2 answers

0 votes
Mateus T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 25, 2022

Hi @Tyler Mann,

Welcome to the Atlassian Community!

Currently, I'm afraid that it is not possible to fetch images contained within a Pull Request comment through the Rest API. In this case, I've taken the liberty to raise a Feature Request with our development team in order to address this opportunity. You can check it through the following link:

https://jira.atlassian.com/browse/BCLOUD-22105

Our development team will give a first-hand update through that ticket if there's any progress made so I would suggest keeping a watch for it. Please note that all enhancements are implemented with this policy in mind.

Cheers,

Mateus T

Tyler Mann
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!
August 29, 2022

Thanks for the update @Mateus T , I'll keep an eye on that ticket!

0 votes
Dan Mateer
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!
August 18, 2022

Following.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events