We would like to create a custom merge check that checks if a PR has a certain text in the comments.
Is there a way to get a list of all the comments for a Pull Request?
I do not see any useful methods here: https://docs.atlassian.com/bitbucket-server/javadoc/5.1.5/api/reference/com/atlassian/bitbucket/pull/PullRequest.html
The CommentService interface does seem to have a searchThreads, but what exactly is a CommentSearchRequest and how would I build this?
Thanks