From cb8647327d79a2ab45e00d9f7cac0bebc4f9afb0 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Fri, 26 Jun 2026 08:49:31 -0400 Subject: jira-CR.php: fix showing ticketLabels --- .local/bin/jira-CR.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/jira-CR.php b/.local/bin/jira-CR.php index 7b62343..586f65b 100755 --- a/.local/bin/jira-CR.php +++ b/.local/bin/jira-CR.php @@ -80,7 +80,7 @@ $output = ""; $has_pr = []; file_put_contents("/tmp/jira-CR.html", ""); -function process_pr($pr, $tickets) { +function process_pr($pr, $tickets, $ticketLabels) { global $has_pr; $ansired = "\033[31m"; $ansigreen = "\033[32m"; @@ -203,7 +203,7 @@ function process_pr($pr, $tickets) { } foreach ($prs_json as $pr) { - [$terminal, $html] = process_pr($pr, $tickets); + [$terminal, $html] = process_pr($pr, $tickets, $ticketLabels); if (!empty($terminal) && !empty($html)) { echo $terminal; file_put_contents("/tmp/jira-CR.html", $html, FILE_APPEND); -- cgit 1.4.1