maton jira issue create
maton jira issue create [flags]
Create an issue with a project key, summary, and optional description. The description is automatically wrapped in Atlassian Document Format.
Options
-
--cloud-id <string> - Jira Cloud ID (run 'maton jira cloud list' to discover)
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--description <string> - Issue description (wrapped in ADF)
-
--dry-run - Print the request that would be sent without executing it
-
--format <string> - Output format: 'json' (default) or 'text' on supported commands
-q,--jq <expression>- Filter JSON output using a jq expression
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--project <string> - Project key, e.g. PROJ (required)
-
--summary <string> - Issue summary/title (required)
-
--template <string> - Format JSON output using a Go template; see "maton help formatting"
-F,--text-from-file <file>- Read description from file (or `-` for stdin)
-
--type <string> (default "Task") - Issue type (e.g. Task, Bug, Story)
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton jira issue create --cloud-id abc-123 --project PROJ --summary 'Fix login'
$ maton jira issue create --cloud-id abc-123 --project PROJ --summary 'New bug' --type Bug --description 'Repro steps...'
$ cat description.md | maton jira issue create --cloud-id abc-123 --project PROJ --summary 'Spec' -F -