This project is born to help building automation scripts with jira. This CLI is a 1:1 integration with the Jira REST API v2 to help you execute repetitive tasks via scripts or simply change your card status, assignee and more to come.
Because a tool to query JSON payloads is already available (jq) this cli is intended to act as a simple HTTP client so it's flexible enogh and can help building scripts to automate you work with jira if needed.
go install github.com/cedrata/jira-helper@latest
Because this implementation aims to be 1:1 implementation of the JIRA REST API v2 a command will exist for each section. Each command will have it's own subcommand, each subcommand will be linked to a URL and an HTTP method to keep the integration simple.
To follow you can find the implemented endpoints for each jira group:
-
-
Search for Issue GET ❌ using directly the POST version
-
Before using the cli create the file ~/.jira-helper.config
with the same structure as follows:
[default]
host=your.host.com
token=yourjiratoken
The configuration file is strucutred to hava many profiles. The profile default
is the one used if the --profile
flag is not provided. If you wish to have more than one profile and call it explicitely add a section structured like the example before and you can add the --profile
flag with the name you set for the profile.