cli向jira提交任务日志

tasklog的Python项目详细描述


tasklog:一个基于终端的应用程序,用于将工作/任务日志提交给jira问题和空闲通道

与python版本兼容

  • Python3.7.3+

基本设置

从pypi为所有用户安装

sudo bash make.sh --install-package-globally-from-source
tasklog -h

安装+运行应用程序(用于开发):

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

从源代码处为所有用户安装

sudo bash make.sh --install-package-globally-from-source
tasklog -h

设置/运行应用程序:

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

运行测试套件:

需求:应用程序是为开发目的而安装的

bash make.sh --install-test-dependencies
bash make.sh --run-tests

配置文件示例:

# Slack Serverslack:# API TokenapiToken:"FOOBAR"# Channel to post to, without # prefixchannel:"daily"# JIRA Serverjira:# Server URLserverURL:"http://.example.com"# Account Usernameusername:"me"# Account Passwordpassword:"you"# HTTPS connection must be with a valid server certificate. boolean: true / falseverifyCertificate:false# JIRA Issue Preferencesissue:# Issue Creation Preferencescreation:# 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 titledayX:# Starting title keywordprefixPreferedOrder:-Day-Jour# CLI Logginglogging:# Logging level. Enum: DEBUG, INFO, WARN, ERROR, CRITICALseverity:"INFO"# Log file namefile:"tasklog.cli.log"

任务日志文件示例:

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 ?

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java在构造类实例时重写方法   java需要帮助在记忆游戏中随机化数字   java将术语频率添加到lucene索引   LWJGL中的java多线程块渲染   java如何获取序列。JDBC中SQL的nextval?   java无法解析或不是类继承中的字段   java为不同的策略注入相似的依赖类型   泛型组件,用于检查一个java。朗,反思一下。类型可以铸造到另一个?   方法java程序:从用户字符串输入中添加整数   使用KMS的java弹性beanstalk环境变量加密   java如何使用JSONLIB将bean转换为JSON   java access对象的封装对象   JavaJDK10无法导入javax。xml。Eclipse中的命名空间