svg
This commit is contained in:
@ -203,9 +203,11 @@ class RedmineService
|
||||
// Calcul de la position sprint
|
||||
$issueSprintId = $rissue['sprint']['agile_sprint_id'];
|
||||
$sprintPosition = '';
|
||||
foreach ($project->getRedmine()['sprints'] as $sprint) {
|
||||
$sprintIndex = null;
|
||||
foreach ($project->getRedmine()['sprints'] as $key => $sprint) {
|
||||
if ($sprint['id'] === $issueSprintId) {
|
||||
$sprintPosition = $sprint['id']; // ou $index + 1 si tu veux position humaine
|
||||
$sprintPosition = $sprint['id'];
|
||||
$sprintIndex = $key;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user