The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Is there any way to get a stream of all commit comments for the repo?

Justice McCullum
Contributor
May 21, 2015

Asked on Twitter to @Bitbucket

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Justice McCullum
Contributor
May 21, 2015

You can use the Bitbucket REST API to write your own script to retrieve the comments. First, you must make a request to retrieve the list of commits in the repository. Then you must make an additional request for each individual commit to retrieve any comments that are present on that commit. Please note, our API methods are paginated so you may have to make multiple requests to retrieve all of the commits and comments. (See the API documentation for more information).

https://confluence.atlassian.com/display/BITBUCKET/commits+or+commit+Resource#commitsorcommitResource-GETalistofcommitcomments

TAGS
AUG Leaders

Atlassian Community Events