How to attach a file to PR comment using REST API on bitbucket cloud?

Ashok Masimukku January 13, 2022

I can find the documentation and got it working for just the data but how can we attach files to PR comment using the REST api 2.0?

2 answers

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2022

Hey @Ashok Masimukku 

G'Day!

I believe we don't have a way to directly upload attachments to Pull request comments, but it's possible to upload attachments on the pull request itself as per our Blog post here. 

We do have an existing open feature request on this, I would suggest you Vote & Watch so that you'll receive an update whenever we have any at:

I hope this helps, please let me know if you have any additional questions.

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events