PHP Class chobie\Jira\Issue

Show file Open project: chobie/jira-api-restclient Class Usage Examples

Protected Properties

Property Type Description
$expand array Expand.
$expandedInformation array Expand information.
$fields array Fields.
$id string ID.
$key string Key.
$self string Self.

Public Methods

Method Description
__construct ( array $issue = [] ) Creates issue instance.
get ( string $field_key ) : array Gets field by name.
getAssignee ( ) : mixed Get the current assignee.
getCreated ( ) : mixed Get issue created time.
getDescription ( ) : mixed Get description.
getDueDate ( ) : mixed Get due date.
getExpandedInformation ( ) : array Get information represented in call output due to expand=.
getFields ( ) : array Get current fields.
getFixVersions ( ) : mixed Get fix versions.
getId ( ) : string Gets jira's internal issue id.
getIssueType ( ) : mixed Get issue type.
getKey ( ) : string Gets issue key (YOURPROJ-123).
getLabels ( ) : mixed Get labels.
getPriority ( ) : mixed Get priority.
getProject ( ) : mixed Get project info.
getReporter ( ) : mixed Get issue reporter.
getResolution ( ) : mixed Get resolutions.
getResolutionDate ( ) : mixed Get resolution date.
getSelf ( ) : string Get this issue api url.
getStatus ( ) : mixed Get issue status.
getSummary ( ) : mixed Get issue summary.
getUpdated ( ) : mixed Get issue updated time.
getWatchers ( ) : mixed Get watches.

Method Details

__construct() public method

Creates issue instance.
public __construct ( array $issue = [] )
$issue array Issue.

get() public method

Gets field by name.
public get ( string $field_key ) : array
$field_key string Field key.
return array

getAssignee() public method

Get the current assignee.
public getAssignee ( ) : mixed
return mixed

getCreated() public method

Get issue created time.
public getCreated ( ) : mixed
return mixed

getDescription() public method

Get description.
public getDescription ( ) : mixed
return mixed

getDueDate() public method

Get due date.
public getDueDate ( ) : mixed
return mixed

getExpandedInformation() public method

.. suffix.
See also: https://docs.atlassian.com/jira/REST/latest/
public getExpandedInformation ( ) : array
return array

getFields() public method

Get current fields.
public getFields ( ) : array
return array

getFixVersions() public method

Get fix versions.
public getFixVersions ( ) : mixed
return mixed

getId() public method

Gets jira's internal issue id.
public getId ( ) : string
return string

getIssueType() public method

Get issue type.
public getIssueType ( ) : mixed
return mixed

getKey() public method

Gets issue key (YOURPROJ-123).
public getKey ( ) : string
return string

getLabels() public method

Get labels.
public getLabels ( ) : mixed
return mixed

getPriority() public method

Get priority.
public getPriority ( ) : mixed
return mixed

getProject() public method

Get project info.
public getProject ( ) : mixed
return mixed

getReporter() public method

Get issue reporter.
public getReporter ( ) : mixed
return mixed

getResolution() public method

Get resolutions.
public getResolution ( ) : mixed
return mixed

getResolutionDate() public method

Get resolution date.
public getResolutionDate ( ) : mixed
return mixed

getSelf() public method

Get this issue api url.
public getSelf ( ) : string
return string

getStatus() public method

Get issue status.
public getStatus ( ) : mixed
return mixed

getSummary() public method

Get issue summary.
public getSummary ( ) : mixed
return mixed

getUpdated() public method

Get issue updated time.
public getUpdated ( ) : mixed
return mixed

getWatchers() public method

Get watches.
public getWatchers ( ) : mixed
return mixed

Property Details

$expand protected property

Expand.
protected array $expand
return array

$expandedInformation protected property

Expand information.
protected array $expandedInformation
return array

$fields protected property

Fields.
protected array $fields
return array

$id protected property

ID.
protected string $id
return string

$key protected property

Key.
protected string $key
return string

$self protected property

Self.
protected string $self
return string