LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

jira-issue

manages Jira issues from the command line

TLDR

List issues in an interactive table
$ jira issue list
copy
List issues assigned to you in a given status
$ jira issue list -a$(jira me) -s"[In Progress]"
copy
Filter with raw JQL and print plain output for scripts
$ jira issue list -q "[priority = High]" --plain --no-headers
copy
Create an issue without interactive prompts
$ jira issue create -t[Bug] -s"[Summary]" -b"[Description]" --no-input
copy
View issue details
$ jira issue view [ISSUE-123]
copy
Move issue to a status
$ jira issue move [ISSUE-123] "[Done]"
copy
Assign issue to yourself
$ jira issue assign [ISSUE-123] $(jira me)
copy
Add a comment
$ jira issue comment add [ISSUE-123] "[Comment text]"
copy

SYNOPSIS

jira issue subcommand [options]

DESCRIPTION

jira issue manages Jira issues from the command line. Part of jira-cli (ankitpokhrel/jira-cli), it allows creating, viewing, editing, commenting on and transitioning issues without using the web interface. Lists open in an interactive TUI by default, with plain, CSV and JSON output for scripting. jira issues is an alias.

PARAMETERS

list [text]

List issues matching filters (aliases ls, search).
create
Create a new issue, interactively or with flags.
view key
View issue details (alias show).
edit key
Edit an issue (aliases update, modify).
move key state
Transition issue to a new state (aliases transition, mv).
assign key user
Assign issue to a user; use default for the default assignee or x to unassign.
comment add key [body]
Add a comment to an issue.
link inward outward type, unlink inward outward
Link or unlink two issues.
clone key
Duplicate an issue.
delete key
Delete an issue.
watch key user
Add a watcher to an issue.
worklog add key time
Log time spent on an issue (e.g. "2h 30m").
-a, -r, -s, -t, -y, -l
List filters: assignee, reporter, status, type, priority, label.
-q, --jql query
Filter issues with a raw JQL query in the project context.
--plain, --no-headers, --columns list, --csv, --raw
Output modes for scripting.
-p, --project key
Override the configured project.

CAVEATS

Numeric keys are expanded with the configured project (e.g. 123 becomes PROJ-123). Assignee names must match exactly. Status names in move must match an available transition for the issue.

SEE ALSO

RESOURCES

Copied to clipboard
Kai