Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 848 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 848 Bytes

esign.py

Python CLI tool for signing Jira issues in eSign Jira plugin.

Usage

To obtain the token, you need to open Jira in your browser, find the value of cloud.session.token cookie, copy it, and save it somewhere. I store it in .token file. To sign an issue, you need to run something like this:

python3 esign.py \
    --issue     PROJ-1234       \
    --meaning   "Code Review"   \
    --company   acme-corp       \
    --pin       123456          \
    --token     $(cat .token)   \
    --finalize

That's verbose but most of the arguments will be the same. The purpose of the script is to be used in combination with go-jira to fully automate signing issues. See Taskfile.yml for a real-world example.