Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

Commit4682bea

Browse files
wip
1 parent83ca790 commit4682bea

File tree

1 file changed

+27
-15
lines changed

1 file changed

+27
-15
lines changed

‎docs/guides/custom-reports.md‎

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ Contained within the `<pr_details>` tag.
105105

106106
####Comments
107107

108-
-`<pr_comments>`: array of comment objects - Contains all the comments made on the PR.
109-
-`<comment>`: object - Eachindidvidual comment is wrapped in this tag and is an object with the following properties:
110-
-`<comment_author_username>`: string - The username of the comment author.
111-
-`<comment_created_at>`: datetime - The date and time the comment was created.
112-
-`<comment_updated_at>`: datetime - The date and time the comment was last updated.
113-
-`<comment_body>`: markdown - The content of the comment.
108+
-`${pr_comments}`: array of comment objects - Contains all the comments made on the PR.
109+
-`${comment}`: object - Eachindividual comment is wrapped in this tag and is an object with the following properties:
110+
-`${comment_author_username}`: string - The username of the comment author.
111+
-`${comment_created_at}`: datetime - The date and time the comment was created.
112+
-`${comment_updated_at}`: datetime - The date and time the comment was last updated.
113+
-`${comment_body}`: markdown - The content of the comment.
114114

115115
Here's an example prompt that uses these data points:
116116

@@ -252,17 +252,29 @@ Within each group, sort by:
252252
- Impact level
253253
```
254254

255-
###Time-Based Analysis
255+
###Optional Data Sources
256256

257-
Add temporal analysis toyour reports:
257+
You can also include optional data sources inyourcustomreports. By default, CodeRabbit will not include the following data sources. In a custom report you will see the option to include these data sources by clicking the`Select Optional Data Sources` button. This adds special XML tags to your prompt that allow you to include this data in your report.
258258

259-
```text
260-
Provide:
261-
- Week-over-week comparison
262-
- Trend analysis for the past month
263-
- Velocity metrics
264-
- Time to merge statistics
265-
```
259+
####Bot Comments
260+
261+
Bot comments are comments made by bots and Coderabbit AI on a PR. To enable bot comments you must include the tag`<include_bot_comments>` in your prompt.
262+
263+
These are very similar in structure to regular user comments but with a few key differences:
264+
265+
-`<bot_comments>`: array of comment objects - Contains all the comments made on the PR.
266+
-`<bot_comment>`: object - Each individual comment is wrapped in this tag and is an object with the following properties:
267+
-`<bot_name>`: string - The username of the comment author.
268+
-`<bot_comment_created_at>`: datetime - The date and time the comment was created.
269+
-`<bot_comment_updated_at>`: datetime - The date and time the comment was last updated.
270+
-`<bot_comment_body>`: markdown - The content of the comment.
271+
272+
####Issues and Tickets
273+
274+
Issues and tickets brings in conversations, descriptions, and comments from Jira and Linear in your repository. To enable issues and tickets you must include the tag`<include_issues_and_tickets>` in your prompt.
275+
276+
-`<issues_and_tickets>`: array of comment objects - Contains all the comments made on the PR.
277+
-`<issue_or_ticket>`: object - Each individual comment is wrapped in this tag and is an object with the following properties:
266278

267279
##Best Practices
268280

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp