-
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.
Merge pull request #2 from Aeliot-Tm/improvement
Extend JIRA issue configuration
- Loading branch information
Showing
10 changed files
with
210 additions
and
33 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,29 @@ | ||
# 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 | ||
'priority' => 'string', // priority of 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', | ||
] | ||
]; | ||
``` |
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,9 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Aeliot\TodoRegistrar\Exception; | ||
|
||
final class InvalidConfigException extends \InvalidArgumentException | ||
{ | ||
} |
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
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
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
Oops, something went wrong.