wowworks/team-analysis
Composer 安装命令:
composer create-project wowworks/team-analysis
包简介
BI tool for development team
README 文档
README
Analysis
Bitbucket settings
- Log into BitBucket
- Visit the Settings page for your organization
- Click the "OAuth" tab under "Access Management"
- Click the Add Consumer button. Attention! You will need to grant read access to the section: "Account".
- Configure and save.
Jira settings
Add OAuth Consumer
- Create [API Token] (https://confluence.atlassian.com/cloud/api-tokens-938839638.html)
Usage
- Run command
php init. - Set the Key and Secret shown in the new entry in the list of OAuth consumers at
\common\config\params-local.php.
'bitbucket' => [ 'key' => <your-OAuth-Key> 'secret' => <your-OAuth-Secret>, 'workspace' => <your-workspace>, 'repositories' => [ <you-repository-slag-1>, <you-repository-slag-2> ], ]
For example in URL https://bitbucket.org/teamsinspace/documentation-tests: teamsinspace - your-workspace; documentation-tests - you-repository-slag.
3.Add settings for connecting to the database at \common\config\params-local.php
'components' => [ 'db' => [ 'class' => 'yii\db\Connection', 'dsn' => '', 'password' => '', 'username' => '', 'charset' => 'utf8', ], ]
4.Set your Jira params at \common\config\params-local.php.
'jira' => [ 'host' => <your-jira-host> 'user' => <your-jira-username>, 'token' => <jira-password-OR-api-token>, 'projectKeys' => [ <project-key-1>, <project-key-2> ] ]
5.Apply migrations php yii migrate.
6.Run command php yii cron/sync "dateFrom". Where "dateFrom" is the date from the beginning of which you need to download the data, the "dateFrom" must be in the format "Y-m-d".
When the command run without argument "dateFrom", data will be loaded for the last 24 hours.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-02