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
4,368,495
Community Members
 
Community Events
168
Community Groups

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

Edited

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

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

Atlassian Community Events