Using the Redmine API using the Kevin Saliou , I'm trying to get issues for a particular project but not is being returned correctly, both%% and%% issues are incorrect.
$client = Yii::$app->redmine->connectRedmine();
$issues = $client->api('issue')->all([
'project_id' => 'id5-cli-portal',
'status_id' => 'closed',
'sort' => 'created_on:desc,status:desc'
]);
When the open
parameter is passed as closed
, a fixed amount of 25 elements is returned for any project used.
In the above project example, it contains the following:
Functionality: 15 open / 86
Support: 1 open / 5
Maintenance: 7 open / 61
Error: 3 open / 20
Satisfaction Survey: 0 open / 0
E is returned: status_id
/ closed