Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Access Images in Bitbucket pull request description via API?

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: "<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 Aug 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:

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.


Mateus T

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

0 votes


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,493 views 3 10
Read article

Atlassian Community Events