Skip to content

Python CLI tool to sign Jira issues (using eSign plugin)

License

Notifications You must be signed in to change notification settings

orsinium-labs/esign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.