CLI to submit tasklogs to Jira
Project description
tasklog: a terminal based application to submit work/task logs to JIRA issues, to Slack channels
Compatible with Python versions
- Python 3.7.3+
Basic Setup
Install for all users, from Pypi
sudo bash make.sh --install-package-globally-from-pypi
tasklog -h
Install + run app (for development):
source make.sh --enable-development-env
bash make.sh --install-dependencies
bash make.sh --install-package-in-development-mode
bash make.sh --show-tasklog-options
Install for all users, from source
sudo bash make.sh --install-package-globally-from-source
tasklog -h
Setup/Run the application:
bash make.sh --show-tasklog-options
OR
bash make.sh --show-tasklog-submit-worklog-cli-sample
bash make.sh --show-tasklog-submit-daily-cli-sample
Run the test suite:
Requirement: App is installed for development purpose
bash make.sh --install-test-dependencies
bash make.sh --run-tests
Sample Config file:
# Slack Server
slack:
# API Token
apiToken: "FOOBAR"
# Channel to post to, without # prefix
channel: "daily"
# JIRA Server
jira:
# Server URL
serverURL: "http://.example.com"
# Account Username
username: "me"
# Account Password
password: "you"
# HTTPS connection must be with a valid server certificate. boolean: true / false
verifyCertificate: false
# JIRA Issue Preferences
issue:
# Issue Creation Preferences
creation:
# Prefered Issue Type when creating issues
# (list of issue type name, sorted in descending order)
typePreferedOrder:
- Task
- Improvement
- Bug
- New Feature
- Sub-Task
- Epic
- Story
- Technical Task
- Question
# New JIRA Issue prefered title as a numbered title
dayX:
# Starting title keyword
prefixPreferedOrder:
- Day
- Jour
# CLI Logging
logging:
# Logging level. Enum: DEBUG, INFO, WARN, ERROR, CRITICAL
severity: "INFO"
# Log file name
file: "tasklog.cli.log"
Sample tasklog file:
MOCKTEST-1
23-05-2019
4.5h
This log will be created against an existing JIRA issue named "MOCKTEST-1"
WORKLOG#
MOCKTEST
22-05-2019
8h
This is log will be logged against a brand new JIRA issue in project with key MOCKTEST
- and an extra line
- and an extra line 2
-- and an extra line 3
WORKLOG#
MOCKTEST
23-05-2019
4.5h
This is a multiline description
it is cool is not it ?
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tasklog-0.0.12.tar.gz.
File metadata
- Download URL: tasklog-0.0.12.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
030c691591aab6fb8f3ee83dcc2e56e4601a644170b8be3ec5639ea679624bde
|
|
| MD5 |
26213a2d200f33b19afb7b5d04e83879
|
|
| BLAKE2b-256 |
2da4cf93dbacbd94798c0539d896181ee36400cb27084d9620f7354b7c5078cf
|
File details
Details for the file tasklog-0.0.12-py3-none-any.whl.
File metadata
- Download URL: tasklog-0.0.12-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d05a493ba5df65d72f111995f0444b08db8d3efa06ac0ded0b8c2c3f5cce2d3b
|
|
| MD5 |
862cfcd401621c3ffdf7eb1e82a087f7
|
|
| BLAKE2b-256 |
939d2f52ea74f84156cf7ab7f6f3a3279c7ffed1c08ba368631b196fec73e317
|