bb_ls_pr_comments
Retrieve and display all comments from a specified pull request in Bitbucket, including inline code comments with author, timestamp, content, and location. Supports pagination for large datasets using limit and cursor parameters.
Instructions
Lists comments on a specific pull request identified by prId
within a repository (repoSlug
). If workspaceSlug
is not provided, the system will use your default workspace. Retrieves both general PR comments and inline code comments, indicating their location if applicable. Supports pagination via limit
and cursor
. Pagination details are included at the end of the text content. Returns a formatted Markdown list with each comment's author, timestamp, content, and location for inline comments. Requires Bitbucket credentials to be configured.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cursor | No | Pagination cursor for retrieving the next set of results. Obtained from previous response when more results are available. | |
limit | No | Maximum number of items to return (1-100). Controls the response size. Defaults to 25 if omitted. | |
prId | Yes | Numeric ID of the pull request to retrieve comments from as a string. Must be a valid pull request ID in the specified repository. Example: "42" | |
repoSlug | Yes | Repository slug containing the pull request. This must be a valid repository in the specified workspace. Example: "project-api" | |
workspaceSlug | No | Workspace slug containing the repository. If not provided, the system will use your default workspace. Example: "myteam" |