Skip to the content.

GoJira

Build Status

gojira

What is GoJira ?

GoJira is a Go tool designed to enhance and expedite the use of Jira, a popular management software. This version of GoJira focuses on enabling Definition of Done (DoD) injection.

How to install GoJira ?

Download binary

Verify the Executable

Verify the executable installation by opening your preferred command-line interface (CLI) and entering the command “gojira”. You should see output similar to the following:

$ gojira.exe
Gojira is a modern CLI Tool for Jira Server, allowing DoD injection and plenty other stuff impossible to achieve using Jira plugins.

Usage:
  gojira [flags]
  gojira [command]

Available Commands:
  config      Manage gojira configuration.
  dod         Apply Definition of Done to a set of US.
  help        Help about any command
  login       Create wincred credential to authenticate to a dedicated Jira Server / Project via Basic Authentication.
  pi-wl       List all PI sprints workload
  sprints     List all sprints in configured project.
  stories     List all User Stories in the configured Sprint.
  test
  tokenlogin  Create wincred credential to authenticate to a dedicated Jira Server / Project via Bearer Token.
  version     Print the version of Gojira

Flags:
  -h, --help   help for gojira

Use "gojira [command] --help" for more information about a command.

If you see the above output, the installation is complete. Otherwise, double-check that you placed the gojira.exe file in the correct directory and correctly added it to your system’s PATH variable.

Configure gojira

$ gojira.exe login
Jira URL: https://jira.url.com
Jira Username: username
Jira Password: *********
Jira account was successfully logged on!
$ gojira.exe tokenlogin
Jira URL: https://jira.gemalto.com
Jira Personal Access Token:
Jira account was successfully logged on!
$ gojira.exe config project "<MY_PROJECT_NAME>"
Several boards matching, please pick one by ID.
Board : {XXXXX https://jira.url.com/rest/agile/1.0/board/XXXXX MY_PROJECT_NAME scrum 0}
Board : {YYYYY https://jira.url.com/rest/agile/1.0/board/YYYYY OTHER_PROJECT_NAME scrum 0}
Selected Board ID: XXXXX
Board selected!
$ gojira.exe config projectId <MY_PROJECT_ID>
Board selected!
Board ID: XXXXX
Board Name: MY_PROJECT_NAME
$ gojira.exe config sprint
 Sprint ID : AAAAA : Sprint 1
 ...
 Sprint ID : CCCCC : Sprint 3
 ...
Please input desired sprint ID: CCCCC

Functionalities

List of User Stories
$ gojira.exe stories
 
Stories/Bugs in selected sprint :
 PROJ-DDDDD | Story  | A User Story
 PROJ-EEEEE | Story  | Another US   
 PROJ-FFFFF | Story  | Again a US   
 
As list :
PROJ-DDDDD,PROJ-EEEEE,PROJ-FFFFF
DoD Injection
$ gojira.exe dod standardstory PROJ-DDDDD,PROJ-EEEEE
 Pushing standardstory DoD for US PROJ-DDDDD ...............
 Pushing standardstory DoD for US PROJ-EEEEE ...............
Number of US treated : 2