jisub

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 10 Imported by: 0

README

📋 jisub

ci-build Go Report Card MIT License

CLI tool to simplify jira tickets interaction

Install

Download latest release version. Extract to user home dir. Add jisub executable to PATH export PATH=$PATH:~/jisub

Config

  • Configure jira instance API path:
    jisub --config "jira.url https://jira-api.com/jira/rest/api/2"
  • Obtain jira token from profile and add it to configuration
    jisub --config "user.token JIRA_TOKEN"

Configuration is stored at jisub-config.ini file at jisub home folder.

[user]
token = 

[jira]
url = 

Usage

  • Create required sub tasks with estimates for the parent ticket:
    jisub --syb-tasks "QA:2 BE:3 FE:4" --fields "storypoints:4 dealsize:2,3,4" JIRA-39106 
  • Shorten version:
    jisub -st "QA:2 BE:3 FE:4" -f "storypoints:4 dealsize:2,3,4" JIRA-39106 
Customizing Jira payload

To support various jira fields that may depend on configuration, payload templates are used. This would allow to have your own jira mapping.

  • issue.tmpl - is used for the ticket fields update with the --fields flag.
  • sub-tasks-bulk.tmpl - is used for the sub tasks creation with the --sub-tasks flag.
Support

bmc

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL