@shelf.network/jira-cli

1.0.2 • Public • Published

Overview

CLI tool for Jira x GitLab automation.

Installation

# install globally:
npm i -g @shelf.network/jira-cli

#install as a dev dependency
npm i -D @shelf.network/jira-cli

JIRA API Access

Jira connection options must be specified in the following env variables:

export JIRA_HOST="..." # your Jira domain
export JIRA_USERNAME="..." # your Jira username
export JIRA_TOKEN="..." # Jira API token, get it here: https://id.atlassian.com/manage/api-tokens
export JIRA_PROJECT_ID="2131231" # Get it from Chrome DevTools, hacker

Usage

Transition all issues associated with a merge requests:

jira-cli transition "WIP: [SHF-1, SHF-2] Moderate Bucket" # the issues go to "In Progress" column
jira-cli transition "[SHF-1, SHF-2] Moderate Bucket" # the issues go to "In Review" column
jira-cli transition --merged "[SHF-1, SHF-2] Moderate Bucket" # the issues go to "QA Pending" column

Create a Jira release, move all associated issues to "Done":

jira-cli release "Admin Panel" "v13.0.0"

/@shelf.network/jira-cli/

    Package Sidebar

    Install

    npm i @shelf.network/jira-cli

    Weekly Downloads

    7

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    18.9 kB

    Total Files

    11

    Last publish

    Collaborators

    • ihor.diachenko