reload/jira-security-issue
最新稳定版本:v2.0.13
Composer 安装命令:
composer require reload/jira-security-issue
包简介
Create Jira issues if it doesn't exist
README 文档
README
This is a small library that can create Jira issues. The main idea is that it's simple to use and it'll not recreate an issue if the proper keys are supplied.
Quick example:
$issue = new JiraSecurityIssue(); $issue->setTitle('Issue title') ->setBody('The main body'); $issue->setKeyLabel('some-unique-id'); echo $issue->ensure();
Configuration is set using environment variables, for ease of use in CI systems.
JIRA_TOKEN: A reference to the repo secretJiraApiToken(REQUIRED)JIRA_HOST: The endpoint for your Jira instance, e.g. https://foo.atlassian.net (REQUIRED)JIRA_USER: The ID of the Jira user which is associated with the 'JiraApiToken' secret, eg 'someuser@reload.dk' (REQUIRED)JIRA_PROJECT: The project key for the Jira project where issues should be created, egTESTorABC. (REQUIRED if not set in code)JIRA_ISSUE_TYPE: Type of issue to create, e.g.Security. Defaults toBug. (Optional)JIRA_PRIORITY: The priority of issue to create, e.g.Critical. (Optional)JIRA_WATCHERS: Jira users to add as watchers to tickets. Separate multiple watchers with comma (no spaces). (Optional)JIRA_RESTRICTED_COMMENT_ROLE: A comment with restricted visibility to this role is posted with info about who was added as watchers to the issue. Defaults toDevelopers. (Optional)
统计信息
- 总下载量: 1.84M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04