repo_create_pull_request_thread
Add a comment thread to a specific pull request in Azure DevOps, enabling detailed discussions on files or code sections using repository ID, pull request ID, and content.
Instructions
Creates a new comment thread on a pull request.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | The content of the comment to be added. | |
filePath | No | The path of the file where the comment thread will be created. (optional) | |
project | No | Project ID or project name (optional) | |
pullRequestId | Yes | The ID of the pull request where the comment thread exists. | |
repositoryId | Yes | The ID of the repository where the pull request is located. | |
rightFileEndLine | No | Position of last character of the thread's span in right file. The line number of a thread's position. Starts at 1. Must only be set if rightFileStartLine is also specified. (optional) | |
rightFileEndOffset | No | Position of last character of the thread's span in right file. The character offset of a thread's position inside of a line. Must only be set if rightFileEndLine is also specified. (optional) | |
rightFileStartLine | No | Position of first character of the thread's span in right file. The line number of a thread's position. Starts at 1. (optional) | |
rightFileStartOffset | No | Position of first character of the thread's span in right file. The line number of a thread's position. The character offset of a thread's position inside of a line. Starts at 1. Must only be set if rightFileStartLine is also specified. (optional) | |
status | No | The status of the comment thread. Defaults to 'Active'. | Active |