src issue create
Create Issue in Repository
Usage
src issue create [flags]
Examples
Create issue (interactive mode)
src issue create
Create issue with title
src issue create --title "My new issue"
Create issue (another repo)
src issue create --title "My new issue" -R myorg/myrepo
Create issue with priority
src issue create --title "Critical bug" --priority critical
Create issue with assignee
src issue create --title "Task" --assignee username
Create issue with labels
src issue create --title "Feature request" --label bug --label enhancement
Create issue with milestone
src issue create --title "Task" --milestone v1.0
Create issue with deadline
src issue create --title "Task" --deadline 2024-12-31
Create issue with linked PRs
src issue create --title "Fix issue" --linked-pr 123 --linked-pr 456
Flags
| Flag | Description |
|---|---|
-w, --web |
Open in browser after completion |
--silent |
|
--title string |
Issue title (up to 1024 characters) |
--description string |
Issue description (up to 10Mb) |
--status string |
Status. System-wide statuses: open, inProgress, paused, closed, declined, duplicate |
--priority string |
(values: trivial, minor, normal, critical, blocker) |
--assignee string |
|
--milestone string |
|
--visibility string |
(values: public, private) |
--labels stringArray |
Slugs of labels from this repository which are to be linked to the issue. Cannot be used with label_ids |
--linked-prs stringArray |
Slugs to PRs from this repository which are to be linked to the issue. Cannot be used with linked_pr_id. For example ["1", "2", "10"] |
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 |
--plain |
Output without colors/styling (for LLM consumption) |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src issue create <subcommand> --help for more information about a command.