jeyroik / extas-jira
There is no license information available for the latest version (0.3.0) of this package.
JIRA REST API client
0.3.0
2020-10-02 07:12 UTC
Requires
- guzzlehttp/guzzle: 7.*
- jeyroik/extas-foundation: 5.*
- jeyroik/extas-secrets: 1.*
- vlucas/phpdotenv: ^3.4
Requires (Dev)
README
Описание
Jira REST API client for Extas
Использование
use extas\components\Item; use extas\interfaces\jira\issues\IIssue; use extas\interfaces\jira\IJIraRepository; /** * @method IJIraRepository jiraIssues() */ class My extends Item { public function getIssuesIds() { /** * @var IIssue[] $issues */ $issues = $this->jiraIssues('jira_instance_1', 'secret.password')->all([IIssue::FIELD__FIELDS_ASSIGNEE => 'some@user']); return array_column($issues, IIssue::FIELD__ID); } protected function getSubjectForExtension() : string { return 'my'; } }