https://github.com/orsinium-labs/esign
Python CLI tool to sign Jira issues (using eSign plugin)
https://github.com/orsinium-labs/esign
cli esign go-jira jira python signature
Last synced: 7 months ago
JSON representation
Python CLI tool to sign Jira issues (using eSign plugin)
- Host: GitHub
- URL: https://github.com/orsinium-labs/esign
- Owner: orsinium-labs
- License: mit
- Created: 2021-12-31T12:39:30.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T12:32:18.000Z (over 3 years ago)
- Last Synced: 2025-01-17T07:45:48.930Z (9 months ago)
- Topics: cli, esign, go-jira, jira, python, signature
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esign.py
Python CLI tool for signing Jira issues in [eSign](https://digitalrose.atlassian.net/wiki/spaces/ESIGN/overview) 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:
```bash
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](https://github.com/go-jira/jira) to fully automate signing issues. See [Taskfile.yml](./Taskfile.yml) for a real-world example.