get_pull_requests
Retrieve a list of pull requests from a repository by specifying project ID, repository name, and optional filters like status, assignee, or issue IDs. Supports pagination for efficient management.
Instructions
Returns list of pull requests for a repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
assigneeId | No | Assignee user IDs | |
count | No | Number of pull requests to retrieve | |
createdUserId | No | Created user IDs | |
issueId | No | Issue IDs | |
offset | No | Offset for pagination | |
projectIdOrKey | Yes | Project ID or project key | |
repoIdOrName | Yes | Repository ID or name | |
statusId | No | Status IDs |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"assigneeId": {
"description": "Assignee user IDs",
"items": {
"type": "number"
},
"type": "array"
},
"count": {
"description": "Number of pull requests to retrieve",
"type": "number"
},
"createdUserId": {
"description": "Created user IDs",
"items": {
"type": "number"
},
"type": "array"
},
"issueId": {
"description": "Issue IDs",
"items": {
"type": "number"
},
"type": "array"
},
"offset": {
"description": "Offset for pagination",
"type": "number"
},
"projectIdOrKey": {
"description": "Project ID or project key",
"type": [
"string",
"number"
]
},
"repoIdOrName": {
"description": "Repository ID or name",
"type": "string"
},
"statusId": {
"description": "Status IDs",
"items": {
"type": "number"
},
"type": "array"
}
},
"required": [
"projectIdOrKey",
"repoIdOrName"
],
"type": "object"
}