* jira priority field added to api
This commit is contained in:
parent
b31ff5bc64
commit
2e0f4936af
@ -37,6 +37,11 @@ class KanbanEntry implements \JsonSerializable
|
|||||||
*/
|
*/
|
||||||
private $assignee;
|
private $assignee;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
private $issuePriority;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JIRA: customfield_11226
|
* JIRA: customfield_11226
|
||||||
* @var int
|
* @var int
|
||||||
@ -213,6 +218,24 @@ class KanbanEntry implements \JsonSerializable
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function getIssuePriority(): string
|
||||||
|
{
|
||||||
|
return $this->issuePriority;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param string $issuePriority
|
||||||
|
* @return KanbanEntry
|
||||||
|
*/
|
||||||
|
public function setIssuePriority(string $issuePriority): KanbanEntry
|
||||||
|
{
|
||||||
|
$this->issuePriority = $issuePriority;
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
@ -429,6 +452,7 @@ class KanbanEntry implements \JsonSerializable
|
|||||||
'issueType' => $this->getIssueType(),
|
'issueType' => $this->getIssueType(),
|
||||||
'status' => $this->getStatus(),
|
'status' => $this->getStatus(),
|
||||||
'assignee' => $this->getAssignee(),
|
'assignee' => $this->getAssignee(),
|
||||||
|
'issuePriority' => $this->getIssuePriority(),
|
||||||
'prio' => $this->getPrio(),
|
'prio' => $this->getPrio(),
|
||||||
'functionalArea' => $this->getFunctionalAreas()->getValues(),
|
'functionalArea' => $this->getFunctionalAreas()->getValues(),
|
||||||
'externalId' => $this->getExternalId(),
|
'externalId' => $this->getExternalId(),
|
||||||
|
|||||||
@ -87,6 +87,7 @@ class DataCollectorService
|
|||||||
->setExternalLink($jsonIssue['fields']['customfield_10850'])
|
->setExternalLink($jsonIssue['fields']['customfield_10850'])
|
||||||
->setMhwebStatus($jsonIssue['fields']['customfield_10844'])
|
->setMhwebStatus($jsonIssue['fields']['customfield_10844'])
|
||||||
->setAnswerCode($jsonIssue['fields']['customfield_11692'])
|
->setAnswerCode($jsonIssue['fields']['customfield_11692'])
|
||||||
|
->setIssuePriority($jsonIssue['fields']['priority']['name'])
|
||||||
;
|
;
|
||||||
|
|
||||||
// externalId : customfield_10010
|
// externalId : customfield_10010
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user