Backlog MCP Server

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

NameRequiredDescriptionDefault
assigneeIdNoAssignee user IDs
countNoNumber of pull requests to retrieve
createdUserIdNoCreated user IDs
issueIdNoIssue IDs
offsetNoOffset for pagination
projectIdOrKeyYesProject ID or project key
repoIdOrNameYesRepository ID or name
statusIdNoStatus 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" }
ID: lktnbgdbjl