edujugon/jira
Composer 安装命令:
composer require edujugon/jira
包简介
Easy to use wrapper for Jira REST api
README 文档
README
Easy to use wrapper for Jira REST api
Installation
Type in console:
composer require edujugon/jira
Usage samples
$jira = new Edujugon\JIRA\JIRA($username,$password,$url);
Set the project to interact with
You can set the project either by key or id.
The available methods are:
$jira->setProjectByKey('PI');
or
$jira->setProjectById('162');
Set the issue type
You can set the issue type either by name or id.
The available methods are:
$jira->setIssueTypeByName('Task');
or
$jira->setIssueTypeById('1');
Create an issue
$jira->setProjectByKey('PI') ->setIssueTypeByName('Task') ->setSummary('Issue title') ->setDescription('First line of the description') ->addDescriptionNewLine('Another line') ->addDescriptionNewLine('One line more :)') ->createIssue();
More options soon
Enjoy :)
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-14