Import GitHub issues
pull_issuesImport open GitHub issues into bugcap as reports so agents can read them and attach screenshots. Re-running refreshes titles and bodies without overwriting notes, tags, or status.
Instructions
Import open GitHub issues into bugcap as reports, so you can read them with get_report and
attach screenshots to them. Use this when the bug you need lives in GitHub rather than in
bugcap yet. Calls the GitHub API through the user's gh login. Safe to repeat: an issue
that is already imported only has its title and body refreshed, never its notes, tags or
status. Returns {"created", "updated", "unchanged"} counts, or {"error": ...} when no repo
is given or configured, or gh is not signed in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | GitHub repo as 'owner/name'. Defaults to the repo configured in .bugcap.toml. | |
| limit | No | Maximum number of issues to fetch (default 30). | |
| labels | No | Only import issues carrying all of these labels, e.g. ['bug']. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |