alexkovalevych/jira-api

Jira api php 库

1.0.7 2015-09-29 20:57 UTC

This package is not auto-updated.

Last update: 2024-09-10 07:34:52 UTC


README

Build status

使用说明

创建一个客户端,提供你的 jira api urlusernamepassword

$client = new IssueClient('https://myproject.atlassian.com/rest/api/latest', 'login', 'password');

现在你可以使用这个客户端运行 API 请求了

$issue = json_decode($client->get($issueId))->getBody()->getContents());

别忘了错误处理(有关更多信息,请参阅guzzle 文档

try {
	$response = $client->getIssue($issueId);
} catch (RequestException $e) {
	...
}

支持的客户端

  • 问题
  • 工作流
  • 项目

待办事项

  • 覆盖更多 API 端点