src issue linked-prs
List Linked PRs Retrieves all pull requests that are linked to the specified issue.
Usage
src issue linked-prs <issue> [flags]
Examples
List linked PRs for an issue
src issue linked-prs 123
List linked PRs from another repository
src issue linked-prs 123 -R foo/bar
JSON output
src issue linked-prs 123 --json
Limit results
src issue linked-prs 123 --limit 20
Flags
| Flag | Description |
|---|---|
-L, --limit int |
Maximum number of items to return (default "30") |
--sort string |
Sort by field (available: id, title, author, updated-by, created-at, updated-at) |
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src issue linked-prs <subcommand> --help for more information about a command.
Was the article helpful?
Previous
Next