Lines Matching refs:arr
83 $arr = json_decode($data, true);
86 if (!$arr) return ['errors' => sprintf($this->getlang('taskNotFound'), $task)];
89 'key' => $arr['key'],
90 'summary' => $arr['fields']['summary'],
94 if (in_array('status', $fields) && isset($arr['fields']['status'])) {
96 'name' => $arr['fields']['status']['name'],
97 'color' => $arr['fields']['status']['statusCategory']['colorName']
100 if (in_array('priority', $fields) && isset($arr['fields']['priority'])) {
102 'name' => $arr['fields']['priority']['name'],
103 'iconUrl' => $arr['fields']['priority']['iconUrl']
106 if (in_array('issuetype', $fields) && isset($arr['fields']['issuetype'])) {
108 'name' => $arr['fields']['issuetype']['name'],
109 'iconUrl' => $arr['fields']['issuetype']['iconUrl']
112 if (in_array('comment', $fields) && isset($arr['fields']['comment'])) {
113 $res['totalComments'] = $arr['fields']['comment']['total'];