repo_list_pull_requests_by_repo
Retrieve a filtered list of pull requests from a specific Azure DevOps repository. Filter by status, creator, reviewer, or paginate results using top and skip parameters.
Instructions
Retrieve a list of pull requests for a given repository.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
created_by_me | No | Filter pull requests created by the current user. | |
i_am_reviewer | No | Filter pull requests where the current user is a reviewer. | |
repositoryId | Yes | The ID of the repository where the pull requests are located. | |
skip | No | The number of pull requests to skip. | |
status | No | Filter pull requests by status. Defaults to 'Active'. | Active |
top | No | The maximum number of pull requests to return. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"created_by_me": {
"default": false,
"description": "Filter pull requests created by the current user.",
"type": "boolean"
},
"i_am_reviewer": {
"default": false,
"description": "Filter pull requests where the current user is a reviewer.",
"type": "boolean"
},
"repositoryId": {
"description": "The ID of the repository where the pull requests are located.",
"type": "string"
},
"skip": {
"default": 0,
"description": "The number of pull requests to skip.",
"type": "number"
},
"status": {
"default": "Active",
"description": "Filter pull requests by status. Defaults to 'Active'.",
"enum": [
"NotSet",
"Active",
"Abandoned",
"Completed",
"All"
],
"type": "string"
},
"top": {
"default": 100,
"description": "The maximum number of pull requests to return.",
"type": "number"
}
},
"required": [
"repositoryId"
],
"type": "object"
}