Skip to content

tubopo/jisub

Repository files navigation

📋 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 --sub-tasks "BE:3 FE:4 QA:0.5" --fields "storypoints:4 dealsize:3,4,0.5 label:New" JIRA-39106 
  • Shorten version:
    jisub -st "BE:3 FE:4 QA:0.5" -f "storypoints:4 dealsize:3,4,0.5 label:New" 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.

About

jira cli tool to manage ticket syb-tasks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages