It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get comment "likes" information from the REST API? Edited

Using the Bitbucket API, is there a way to find the information of how many likes or reactions a comment on a pull request has and which users liked the comment?

It seems like this is a capability for the server:
https://docs.atlassian.com/bitbucket-server/rest/5.6.2/bitbucket-comment-likes-rest.html

but the most information I can get through the regular API is just the author of the comment and it's content:
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/pullrequests/%7Bpull_request_id%7D/comments/%7Bcomment_id%7D#get


Am I possibly missing something, or is this just not a capability? Is there another way of getting the likes information? If there is not, is it in the pipeline?

Thank you!

1 answer

1 accepted

0 votes
Answer accepted

Hello @Will_Baizer,

Unfortunately there's no public REST API for comment likes yet. There's an internal endpoint though (example) but please be aware that it might be changed or removed at any time without prior notice.

Sorry for the inconvenience.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

109 views 3 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you