From 0acb4e17770215df5dbc6b37a521ae7cdf1141b6 Mon Sep 17 00:00:00 2001 From: afornerot Date: Thu, 11 Apr 2024 15:14:49 +0200 Subject: [PATCH] ajout poid sur export csv --- src/Controller/ScrumController.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Controller/ScrumController.php b/src/Controller/ScrumController.php index 6f95abd..5669baf 100755 --- a/src/Controller/ScrumController.php +++ b/src/Controller/ScrumController.php @@ -532,7 +532,7 @@ class ScrumController extends AbstractController $d = ';'; // this is the default but i like to be explicit $e = '"'; // this is the default but i like to be explicit - $tmp=["Projet","Jalon","Sprint","Type","Id","Titre","Statut","Label"]; + $tmp=["Projet","Jalon","Sprint","Type","Id","Titre","Statut","Label","Poid"]; fputcsv($csvh, $tmp, $d, $e); foreach($gitearepos as $gitearepo) { @@ -558,7 +558,8 @@ class ScrumController extends AbstractController $giteaissue->number, $giteaissue->title, $statut, - $labels + $labels, + $issue->getWeight() ]; fputcsv($csvh, $tmp, $d, $e); }