add_pull_request_comment
Adds a comment to a pull request in Backlog, specifying project, repository, pull request number, and content. Notifies specified users to streamline collaboration and feedback.
Instructions
Adds a comment to a pull request
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Comment content | |
notifiedUserId | No | User IDs to notify | |
number | Yes | Pull request number | |
projectIdOrKey | Yes | Project ID or project key | |
repoIdOrName | Yes | Repository ID or name |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "Comment content",
"type": "string"
},
"notifiedUserId": {
"description": "User IDs to notify",
"items": {
"type": "number"
},
"type": "array"
},
"number": {
"description": "Pull request number",
"type": "number"
},
"projectIdOrKey": {
"description": "Project ID or project key",
"type": [
"string",
"number"
]
},
"repoIdOrName": {
"description": "Repository ID or name",
"type": "string"
}
},
"required": [
"projectIdOrKey",
"repoIdOrName",
"number",
"content"
],
"type": "object"
}