Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Custom Merge Check Script - Comments

Jisoo Han
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 31, 2019

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events