amayamedia / jira-rest-client

用于与JIRA服务器通信的简单客户端

0.2.2-rc1 2023-01-14 21:51 UTC

This package is auto-updated.

Last update: 2024-09-15 01:45:45 UTC


README

Latest Version on Packagist Total Downloads GitHub Actions

用于与JIRA服务器REST API交互的高级客户端。目前仅支持工作日志

安装

您可以通过composer安装此包

composer require amayamedia/jira-rest-client

用法

$authClient = new AuthService('https://example.com/api/auth');
$issueService = new IssueService();
$issueService->useAuth($authClient);

// Get Worklogs for an issue
$issue = $issueService->getWorklog('TEST-1');

// Add a Worklog to an Issue
$issueService->addWorklog('TEST-1', [
    'comment' => 'I did some work',
    'timeSpentSeconds' => 12000
]);

变更日志

有关最近更改的更多信息,请参阅变更日志

贡献

有关详细信息,请参阅贡献指南

安全

如果您发现任何与安全相关的问题,请发送电子邮件至rene@amayamedia.com,而不是使用问题跟踪器。

鸣谢

许可协议

MIT许可协议(MIT)。有关更多信息,请参阅许可文件