HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

jira — Interface (third party) for interacting with Jira. Note: Obtaining a Jira API token and exporting it

Submitted by: @import:tldr-pages··
0
Viewed 0 times
partycommandjirainterfacecliinteractingforthird

Problem

How to use the jira command: Interface (third party) for interacting with Jira. Note: Obtaining a Jira API token and exporting it to the shell as a $JIRA_API_TOKEN variable is required. More information: <https://github.com/ankitpokhrel/jira-cli#commands>.

Solution

jira — Interface (third party) for interacting with Jira. Note: Obtaining a Jira API token and exporting it to the shell as a $JIRA_API_TOKEN variable is required. More information: <https://github.com/ankitpokhrel/jira-cli#commands>.

Create a configuration file (required before using jira):
jira init


List recent issues:
jira issue {{[ls|list]}}


List unassigned issues with high priority:
jira issue {{[ls|list]}} {{[-a|--assignee]}} x {{[-y|--priority]}} High


List issues from the current sprint, assigned to me:
jira sprint {{[ls|list]}} --current {{[-a|--assignee]}} $(jira me)


Create a new issue with a parent issue:
jira issue create {{[-P|--parent]}} {{parent}}


Open an issue in the browser:
jira open {{123}}

Code Snippets

Create a configuration file (required before using `jira`)

jira init

List recent issues

jira issue {{[ls|list]}}

List unassigned issues with high priority

jira issue {{[ls|list]}} {{[-a|--assignee]}} x {{[-y|--priority]}} High

List issues from the current sprint, assigned to me

jira sprint {{[ls|list]}} --current {{[-a|--assignee]}} $(jira me)

Create a new issue with a parent issue

jira issue create {{[-P|--parent]}} {{parent}}

Context

tldr-pages: common/jira

Revisions (0)

No revisions yet.