#add jira & message sync
This commit is contained in:
32
config/jira.php
Normal file
32
config/jira.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| JIRA Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| JIRA REST API 配置信息
|
||||
|
|
||||
*/
|
||||
|
||||
'host' => env('JIRA_HOST', 'http://jira.eainc.com:8080'),
|
||||
'username' => env('JIRA_USERNAME'),
|
||||
'password' => env('JIRA_PASSWORD'),
|
||||
'api_token' => env('JIRA_API_TOKEN'),
|
||||
|
||||
// 认证方式: 'basic' 或 'token'
|
||||
'auth_type' => env('JIRA_AUTH_TYPE', 'basic'),
|
||||
|
||||
// 连接超时时间(秒)
|
||||
'timeout' => (int) env('JIRA_TIMEOUT', 30),
|
||||
|
||||
// 项目代码映射
|
||||
'project_codes' => [
|
||||
'WP' => 'WP',
|
||||
'AM' => 'AM',
|
||||
],
|
||||
|
||||
// 默认用户(如果未指定)
|
||||
'default_user' => env('JIRA_DEFAULT_USER'),
|
||||
];
|
||||
Reference in New Issue
Block a user