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

Will Baizer October 21, 2019

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
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 21, 2019

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
AUG Leaders

Atlassian Community Events