Метод | Описание | |
---|---|---|
addAttachments ( $issueIdOrKey, $filePathArray ) | Add one or more file to an issue. | |
addComment ( $issueIdOrKey, $comment ) : JiraRestApi\Issue\Comment | Adds a new comment to an issue. | |
addWorklog ( mixed $issueIdOrKey, object $worklog ) : |
add work log to issue. | |
create ( $issueField ) : created | create new issue. | |
createMultiple ( |
Create multiple issues using bulk insert. | |
editWorklog ( $issueIdOrKey, $worklog, string $worklogId ) : object | edit the worklog | |
findTransitonId ( $issueIdOrKey, $transitionToName ) | find transition id by transition's to field name(aka 'Resolved'). | |
get ( $issueIdOrKey, array $paramArray = [], |
get all project list. | |
getAllPriorities ( ) : array | Get all priorities. | |
getCustomFields ( $priorityId ) : string | Get priority by id. | |
getIssueFromJSON ( $json ) | ||
getPriority ( $priorityId ) : string | Get priority by id. | |
getTimeTracking ( type $issueIdOrKey ) : type | get TimeTracking info. | |
getTransition ( $issueIdOrKey ) : array | Get a list of the transitions possible for this issue by the current user, along with fields that are required and their types. | |
getWorklog ( mixed $issueIdOrKey ) : |
get getWorklog. | |
getWorklogById ( mixed $issueIdOrKey, integer $workLogId ) : |
get getWorklog by Id. | |
search ( $jql, integer $startAt, integer $maxResults = 15, array $fields = [] ) : |
Search issues. | |
timeTracking ( $issueIdOrKey, $timeTracking ) : type | TimeTracking issues. | |
transition ( $issueIdOrKey, $transition ) : nothing | Perform a transition on an issue. | |
update ( $issueIdOrKey, $issueField ) : created | update issue. |
Метод | Описание | |
---|---|---|
bulkInsert ( [] $issues ) : [] | Makes API call to bulk insert issues. |
public addAttachments ( $issueIdOrKey, $filePathArray ) |
public addComment ( $issueIdOrKey, $comment ) : JiraRestApi\Issue\Comment | ||
Результат | JiraRestApi\Issue\Comment | class |
public addWorklog ( mixed $issueIdOrKey, object $worklog ) : |
||
$issueIdOrKey | mixed | |
$worklog | object | |
Результат | Object |
public create ( $issueField ) : created | ||
Результат | created | issue key |
public createMultiple ( |
||
$issueFields | Array of IssueField objects | |
$batchSize | integer | Maximum number of issues to send in each request |
Результат | [] |
public editWorklog ( $issueIdOrKey, $worklog, string $worklogId ) : object | ||
$issueIdOrKey | ||
$worklog | ||
$worklogId | string | |
Результат | object |
public findTransitonId ( $issueIdOrKey, $transitionToName ) |
public getAllPriorities ( ) : array | ||
Результат | array | of priority class |
public getCustomFields ( $priorityId ) : string | ||
Результат | string | priority id |
public getPriority ( $priorityId ) : string | ||
Результат | string | priority id |
public getTimeTracking ( type $issueIdOrKey ) : type | ||
$issueIdOrKey | type | |
Результат | type | @TimeTracking |
public getTransition ( $issueIdOrKey ) : array | ||
Результат | array | of Transition class |
public getWorklog ( mixed $issueIdOrKey ) : |
||
$issueIdOrKey | mixed | |
Результат | object |
public getWorklogById ( mixed $issueIdOrKey, integer $workLogId ) : |
||
$issueIdOrKey | mixed | |
$workLogId | integer | |
Результат | object |
public timeTracking ( $issueIdOrKey, $timeTracking ) : type | ||
Результат | type | @TimeTracking |
public transition ( $issueIdOrKey, $transition ) : nothing | ||
Результат | nothing | - if transition was successful return http 204(no contents) |
public update ( $issueIdOrKey, $issueField ) : created | ||
$issueIdOrKey | Issue Key | |
$issueField | object of Issue class | |
Результат | created | issue key |