-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Configuration of JIRA-registrar | ||
|
||
Description of keys: | ||
```php | ||
$jiraConfig = [ | ||
'issue' => [ | ||
'addTagToLabels' => true, // add detected tag into list of issue labels or not | ||
'assignee' => 'string' // identifier of JIRA-user, which will be assigned to ticket | ||
// when "assignee-suffix" was not used with tag. | ||
'components' => ['a-component'], // list of components which will be set to issue | ||
'labels' => ['a-label'], // list of labels which will be set to issue | ||
'tagPrefix' => 'tag-', // prefix which will be added to tag when "addTagToLabels=true" | ||
'type' => 'Bug', // type of issue | ||
], | ||
'projectKey' => 'string', // key-name of project | ||
'service' => [ | ||
'host' => 'string', // host of JIRA-server | ||
'personalAccessToken' => 'string', // personal access-token | ||
'tokenBasedAuth' => true, | ||
|
||
// JIRA username and password can be used as alternative for authentication on JIRA-server. | ||
// So, previous option "tokenBasedAuth" must be set to "false". | ||
// | ||
// 'jiraUser' => 'string', | ||
// 'jiraPassword' => 'string', | ||
] | ||
]; | ||
``` |