Skip to main content

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-source
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

tasklog-0.0.10.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

tasklog-0.0.10-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file tasklog-0.0.10.tar.gz.

File metadata

  • Download URL: tasklog-0.0.10.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for tasklog-0.0.10.tar.gz
Algorithm Hash digest
SHA256 e2b646a7421f08557a93464f038350b94b69e11d542f89c023bbaecfe9661401
MD5 b538f7a53d69925663eebcf09c4fb067
BLAKE2b-256 53d7cfcf31fdc040c1bcf80b00bb077accd506e88b4120b240037bd9185010f0

See more details on using hashes here.

File details

Details for the file tasklog-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: tasklog-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 22.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for tasklog-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5e468593fcc69552d8ee8b976359147ea3b89c398846db54fa677968f24d6fa0
MD5 1bf954e8d1e4a6d930f8f616e61198dd
BLAKE2b-256 de67058edb4c8c151126263b2f74f0d33ecbd001aa43d8733d0c714a42cd8c93

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page