PHP 클래스 JiraRestApi\Issue\IssueService

상속: extends JiraRestApi\JiraClient
파일 보기 프로젝트 열기: lesstif/php-jira-rest-client 1 사용 예제들

공개 메소드들

메소드 설명
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 ) : Worklog add work log to issue.
create ( $issueField ) : created create new issue.
createMultiple ( IssueField[] $issueFields, integer $batchSize = 50 ) : [] 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 = [], Issue $issueObject = null ) : Issue 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 ) : PaginatedWorklog get getWorklog.
getWorklogById ( mixed $issueIdOrKey, integer $workLogId ) : PaginatedWorklog get getWorklog by Id.
search ( $jql, integer $startAt, integer $maxResults = 15, array $fields = [] ) : IssueSearchResult 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.

메소드 상세

addAttachments() 공개 메소드

Add one or more file to an issue.
public addAttachments ( $issueIdOrKey, $filePathArray )

addComment() 공개 메소드

Adds a new comment to an issue.
public addComment ( $issueIdOrKey, $comment ) : JiraRestApi\Issue\Comment
리턴 JiraRestApi\Issue\Comment class

addWorklog() 공개 메소드

add work log to issue.
public addWorklog ( mixed $issueIdOrKey, object $worklog ) : Worklog
$issueIdOrKey mixed
$worklog object
리턴 Worklog Object

create() 공개 메소드

create new issue.
public create ( $issueField ) : created
리턴 created issue key

createMultiple() 공개 메소드

Create multiple issues using bulk insert.
public createMultiple ( IssueField[] $issueFields, integer $batchSize = 50 ) : []
$issueFields IssueField[] Array of IssueField objects
$batchSize integer Maximum number of issues to send in each request
리턴 []

editWorklog() 공개 메소드

edit the worklog
public editWorklog ( $issueIdOrKey, $worklog, string $worklogId ) : object
$issueIdOrKey
$worklog
$worklogId string
리턴 object

findTransitonId() 공개 메소드

find transition id by transition's to field name(aka 'Resolved').
public findTransitonId ( $issueIdOrKey, $transitionToName )

get() 공개 메소드

get all project list.
public get ( $issueIdOrKey, array $paramArray = [], Issue $issueObject = null ) : Issue
$issueIdOrKey
$paramArray array Query Parameter key-value Array.
$issueObject Issue
리턴 Issue class

getAllPriorities() 공개 메소드

Get all priorities.
public getAllPriorities ( ) : array
리턴 array of priority class

getCustomFields() 공개 메소드

Get priority by id.
public getCustomFields ( $priorityId ) : string
리턴 string priority id

getIssueFromJSON() 공개 메소드

public getIssueFromJSON ( $json )

getPriority() 공개 메소드

Get priority by id.
public getPriority ( $priorityId ) : string
리턴 string priority id

getTimeTracking() 공개 메소드

get TimeTracking info.
public getTimeTracking ( type $issueIdOrKey ) : type
$issueIdOrKey type
리턴 type @TimeTracking

getTransition() 공개 메소드

Get a list of the transitions possible for this issue by the current user, along with fields that are required and their types.
public getTransition ( $issueIdOrKey ) : array
리턴 array of Transition class

getWorklog() 공개 메소드

get getWorklog.
public getWorklog ( mixed $issueIdOrKey ) : PaginatedWorklog
$issueIdOrKey mixed
리턴 PaginatedWorklog object

getWorklogById() 공개 메소드

get getWorklog by Id.
public getWorklogById ( mixed $issueIdOrKey, integer $workLogId ) : PaginatedWorklog
$issueIdOrKey mixed
$workLogId integer
리턴 PaginatedWorklog object

timeTracking() 공개 메소드

TimeTracking issues.
public timeTracking ( $issueIdOrKey, $timeTracking ) : type
리턴 type @TimeTracking

transition() 공개 메소드

Perform a transition on an issue.
public transition ( $issueIdOrKey, $transition ) : nothing
리턴 nothing - if transition was successful return http 204(no contents)

update() 공개 메소드

update issue.
public update ( $issueIdOrKey, $issueField ) : created
$issueIdOrKey Issue Key
$issueField object of Issue class
리턴 created issue key