Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.24 KB

File metadata and controls

71 lines (46 loc) · 1.24 KB

What is it

Jira API integrations for managing issues and worklogs through a cli

Setup

The jira api requires a api token. Generate one by following the instructions here: https://bit.ly/39jQgMa

If you have access to tempo, Generate a tempo api token by going to Tempo>Settings in your browser, scroll down to Data Access and select API integration.

Store the resulting api in a config file at ~/.config/jirago.yaml with the following format:

username: {your jira username}
password: {newly generated api key}
tempo: {tempo api token}

Install

In the root of the project, Build the tool

go build .

More info on building go binaries for different targets.

Use as is

./jirago -h

Or Move the binary to a location in your PATH

mv ./jirago /usr/local/bin/

Commands

jirago transition

WIP

jirago time

args

  1. issue id
  2. duration
  3. optional natural language date

examples

# add time to the  ticket sarting now

jirago time IOT-6062 90m

# add time to the ticket on the date and time quoted

jirago time IOT-6062 90m "tuesday the 17th at 2:00 pm"
jirago time IOT-6062 90m "last tuesday at 2:00 pm"
jirago time IOT-5999 6h "Nov 6th 2020 at 2:00 pm"