Sum your logged hours in JIRA for the current month.
$ pip install -r requirements.txt
Options:
-h --help
Print help.
-s --server http://jira.example.com REQUIRED
JIRA server address.
-u --username UserName REQUIRED
Username.
-p --password SecretPassword REQUIRED
Password.
-c --csv
Print csv to stdout.
-t --sheet
Generate spreadsheet.
-o --output output.xlsx
The output file name. Must end with .xlsx!
Usage Example:
$ python jira_worklog_sum.py -s https://example.jira.com -u username -p password
$ Total hours spent: 10.2
Also there should be a file in the directory you executed the script. (E.g: jira-worklog-2018-01-01.xlsx
)
$ pytest
- FEATURE: Query a different users worklogs with admin
- LONGTERM FEATURE: Eventually should create a REST API around it. Maybe with Flask or Django
- Spreadsheet should be optional if the user wants the output to stdout
- Unit tests