LinuxCommandLibrary

jira-open

Open JIRA issue in browser

TLDR

Open the Jira project in the browser and print the URL

$ jira open
copy

Open a specific issue in the browser and print the URL
$ jira open [issue_id]
copy

Print the URL without opening in the browser
$ jira open [issue_id] [[-n|--no-browser]]
copy

Display help
$ jira open [[-h|--help]]
copy

SYNOPSIS

jira open [flags] <issue-key>

PARAMETERS

<issue-key>
    Key of the Jira issue (e.g., PROJ-123) to open in browser

--browser BROWSER
    Custom browser to launch (e.g., firefox, chrome); defaults to system browser

-p, --profile string
    Jira server profile name from configuration

--no-browser
    Print URL only, without opening browser

DESCRIPTION

The jira open command, part of the jira-cli tool, launches a specified Jira issue in the user's default web browser directly from the terminal. Developed for efficient workflow integration, it streamlines navigation for developers and teams managing tasks in Atlassian Jira.

Installation requires tools like Go or package managers (e.g., brew on macOS, apt on Debian). Configuration involves setting up server profiles with API tokens via jira configure. Once set, invoke jira open PROJ-123 to instantly access the issue's full web view for editing, comments, or attachments.

Ideal for CLI-heavy environments, it supports custom browsers and profiles, reducing context-switching. Handles server URLs automatically from config, ensuring seamless access across cloud or self-hosted Jira instances. Enhances productivity by bridging terminal and GUI interactions without manual URL copying.

CAVEATS

Requires jira-cli installation and configuration with valid Jira credentials. Fails if no default browser or internet access. Global flags like --plain or --quiet may apply.

EXAMPLES

jira open PROJ-123
jira -p mycloud open ABC-456 --browser firefox
jira open XYZ-789 --no-browser

HISTORY

Introduced in jira-cli v0.1.0 (2020) by Ankit Pokhrel; evolved with browser support in v1.x for cross-platform use. Actively maintained on GitHub with 5k+ stars.

SEE ALSO

jira(1), xdg-open(1), open(1)

Copied to clipboard