diff --git a/.github/skills/gh-tickets/next-ticket.ps1 b/.github/skills/gh-tickets/next-ticket.ps1 index d52bee2..6642aeb 100644 --- a/.github/skills/gh-tickets/next-ticket.ps1 +++ b/.github/skills/gh-tickets/next-ticket.ps1 @@ -13,7 +13,7 @@ $repo = "jreinemann-euris/krisenvorrat" if ($IssueNumber -gt 0) { # Variante A: Explizite Issue-Nummer - $json = gh issue view $IssueNumber --repo $repo --json number, title, labels | ConvertFrom-Json + $json = gh issue view $IssueNumber --repo $repo --json number,title,labels | ConvertFrom-Json $labels = $json.labels | ForEach-Object { $_.name } $type = if ($labels -contains "block-planning") { "[B]" } elseif ($labels -contains "migration") { "[M]" }