Files
toolbox/config/jira.php
2025-12-18 14:25:17 +08:00

33 lines
865 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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',
],
// 默认查询用户(如果未指定,默认使用 JIRA_USERNAME
'default_user' => env('JIRA_USERNAME'),
];