diff options
Diffstat (limited to '.local/bin/jira-CR.php')
| -rwxr-xr-x | .local/bin/jira-CR.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/jira-CR.php b/.local/bin/jira-CR.php index f9e673d..2c55bab 100755 --- a/.local/bin/jira-CR.php +++ b/.local/bin/jira-CR.php @@ -103,7 +103,7 @@ function process_pr($pr, $tickets, $ticketLabels, $onlyShowNeedsReview = false) $pr_ticket = null; $pr_ticket = in_array($pr['headRefName'], $tickets) ? $pr['headRefName'] : null; - $pr_ticket ??= (preg_match("/^[^: ]*/", $pr['title'], $matches) && in_array($matches[0], $tickets)) ? $matches[0] : null; + $pr_ticket ??= (preg_match("/^[^: _]*/", $pr['title'], $matches) && in_array($matches[0], $tickets)) ? $matches[0] : null; if ($pr_ticket) { $has_pr[$pr_ticket] = true; // These are github PR's that are in code review in Jira |
