Skip to content

bj issue create

Create a Jira issue.

Synopsis

bj issue create [OPTIONS]

Options

Option Description
-p, --project <text> Project key.
-t, --type <text> Issue type. (default: Task)
-s, --summary <text> Summary/title.
-b, --body <text> Description.
-e, --editor Write the body in $EDITOR.
-a, --assignee <text> Assignee (name/email, or 'me').
-l, --label <text> Label.
--priority <text> Priority name.
--parent <text> Parent issue key (or id): the epic, or the parent of a sub-task.
--json Output raw JSON.
-q, --jq <text> Filter JSON with a jq expression.

Examples

bj issue create --project PROJ --type Bug --summary "Login is broken"

# A sub-task needs its parent at creation time
bj issue create --project PROJ --type Subtask --parent PROJ-42 --summary "Add tests"

# A story under an epic
bj issue create --project PROJ --type Story --parent PROJ-10 --summary "Login page"

See also