Watson-Jira
Upload watson time logs to Jira from the CLI! Selects Watson time logs whose project name matches a Jira naming regex, formats those logs to Tempo format, and uploads to the appropriate Jira tickets. Will not double-write logs, and makes no local edits.
Install
$ pip install watson-jira
Setup
API access to Jira needs to be enabled, this can be done one of 2 ways:
Guided:
$ watson-jira init
Manual:
- Generate a Jira token: https://id.atlassian.com/manage/api-tokens#
- Add this to
~/.netrc:
machine yoururl.atlassian.net
login yourjiraemail@company.com
password <<Jira Token>>
Replacing <<Jira Token>> with the token you copied from step 1.
The library will read ~/.netrc, no further config needed!
Usage
Show Jira-specific logs from today
$ watson-jira logs --jira-only --tempo-format
Show exixting worklogs for a Jira issue
$ watson-jira logs tempo --issue JI-101
Upload logs from the last 3 days
$ watson-jira sync --from 3
Help
$ watson-jira --help
Will install TD-Watson https://github.com/TailorDev/Watson as one of it's dependencies, not surprisingly.
Metadata
Release files for watson-jira 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| watson_jira-0.2.1.tar.gz | 4.5 kB | Without provenance | Details for watson_jira-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| watson_jira-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for watson_jira-0.2.1-py3-none-any.whl |
Total release size: 10.0 kB
Release files / watson_jira-0.2.1.tar.gz
| Download URL | watson_jira-0.2.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfb46aa8eadf3deb9311a3073e975a129d150bdeb4bf26a9726e207d336a935f
|
|
BLAKE2b-256 checksum How to use checksums |
8a162b0052d78a7eae30f3f438339d1d58de263c1bde6c6ee2095c12ee69822d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / watson_jira-0.2.1-py3-none-any.whl
| Download URL | watson_jira-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e383759d08a8ca6a39cbbeb1fc4c73f80d15ff0a27aa853f7e82c96dbb5da245
|
|
BLAKE2b-256 checksum How to use checksums |
ceffe01524d6346f23158d327bb093e9814ae167401c02e6a3da7d1bf3077fbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for watson-jira 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.