Closed
Description
We're experiencing this error since today: JSON property "parent" in class "JiraRestApi\Issue\IssueField" must not be NULL
.
Our code has worked stably for weeks.
I think Jira cloud is returning different data since this weekend.
I'm simply calling get('SOMEKEY-123')
on an IssueService
instance.
Here's the trace:
/vendor/netresearch/jsonmapper/src/JsonMapper.php in JsonMapper::map at line 216
$this->setProperty($object, $accessor, null);
continue;
}
$type = $this->removeNullable($type);
} else if ($jvalue === null) {
throw new JsonMapper_Exception(
'JSON property "' . $key . '" in class "'
. $strClassName . '" must not be NULL'
);
}
/vendor/netresearch/jsonmapper/src/JsonMapper.php in JsonMapper::map at line 300
);
}
$child = $this->createInstance($type, true, $jvalue);
} else {
$child = $this->createInstance($type, false, $jvalue);
$this->map($jvalue, $child);
}
$this->setProperty($object, $accessor, $child);
}
if ($this->bExceptionOnMissingData) {
/vendor/lesstif/php-jira-rest-client/src/Issue/IssueService.php in JiraRestApi\Issue\IssueService::get at line 51
$ret = $this->exec($this->uri.'/'.$issueIdOrKey.$this->toHttpQueryParameter($paramArray), null);
$this->log->info("Result=\n".$ret);
return $issue = $this->json_mapper->map(
json_decode($ret),
$issueObject
);
}
/**
Metadata
Metadata
Assignees
Labels
No labels