1.0.2 • Published 5 years ago

@shelf.network/jira-cli v1.0.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

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"
1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago