Using the API Redmine using the wrapper Kevin Saliou, I am trying to get the issues of a particular project but is not being returned correctly, both issues as the open
and closed
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 parameter is used as status_id
= closed
, it returns a fixed number of elements 25.
The project above contains:
Funcionalidade: 15 open / 86
Suporte: 1 open / 5
Manutenção: 7 open / 61
Erro: 3 open / 20
Pesquisa de Satisfação: 0 open / 0
And returns: 16 open issue
/ 25 closed issue