Reading certain values from an object I'm trying to read certain values from an object.  What would be the best practice to do so?

$jira_object = json_decode(trim($jira_value-&gt;data));
$this-&gt;_displayName = $jira_object-&gt;user-&gt;displayName;
$this-&gt;_issueID = $jira_object-&gt;issue-&gt;id;
$this-&gt;_issueKey = $jira_object-&gt;issue-&gt;key;
$this-&gt;_issueFieldSummary = $jira_object-&gt;issue-&gt;fields-&gt;summary;
$this-&gt;_issueFieldProgress = $jira_object-&gt;issue-&gt;fields-&gt;progress;
$this-&gt;_issueFieldType = $jira_object-&gt;issue-&gt;fields-&gt;issuetype;
$this-&gt;_issueFieldUpdated = $jira_object-&gt;issue-&gt;fields-&gt;updated;
$this-&gt;_issueFieldCreated = $jira_object-&gt;issue-&gt;fields-&gt;created;
$this-&gt;_issueFieldPriority = $jira_object-&gt;issue-&gt;fields-&gt;priority;
$this-&gt;_issueFieldStatus = $jira_object-&gt;issue-&gt;fields-&gt;status;
$this-&gt;_issueFieldAssignee = $jira_object-&gt;issue-&gt;fields-&gt;assignee;
$this-&gt;_issueFieldProject = $jira_object-&gt;issue-&gt;fields-&gt;project;


How could I make this shorter?
This is shorter, but not necessarily better or more readable.

$jira = json_decode(trim($jira_value-&gt;data), true);

$this-&gt;displayName = $jira['user']['displayName'];
$this-&gt;issueID = $jira['issue']['id'];
$this-&gt;issueKey = $jira['issue']['key'];

foreach ($jira['issue']['fields'] as $key =&gt; $val) {
   $key = ucfirst($key);
   $this-&gt;{"issueField$key"} = $val;
}