public function setAssigneeAccountId($accountId)
{
if (is_null($this->assignee)) {
$this->assignee = new Reporter();
}
$this->assignee->accountId = $accountId;
// REST API V3 must name field set to null.
$this->assignee->name = null;
$this->assignee->setWantUnassigned(true);
return $this;
}
$this->assignee->setWantUnassigned(true); seems to be preventing assigning via account ID when using: $issue->setAssigneeAccountId($assigneeAccountId);
The workaround for now is to override it after setting the account id:
In
IssueField
:$this->assignee->setWantUnassigned(true);
seems to be preventing assigning via account ID when using:$issue->setAssigneeAccountId($assigneeAccountId)
;The workaround for now is to override it after setting the account id:
If I have time tonight I'll throw up a MR.