From 564a617fbc4c1ef901eb16dedd68dd92cffaa63a Mon Sep 17 00:00:00 2001 From: Victor Huang Date: Tue, 26 Mar 2024 15:53:00 -0700 Subject: [PATCH] Add another null chain --- .github/workflows/tagPriorityLow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tagPriorityLow.yml b/.github/workflows/tagPriorityLow.yml index 9bc169107..825e7f8a1 100644 --- a/.github/workflows/tagPriorityLow.yml +++ b/.github/workflows/tagPriorityLow.yml @@ -66,7 +66,7 @@ jobs: } // Try using the title, which includes [GitHub #123] - const match = workItem.fields['System.Title'].match(/\[GitHub #(\d+)\]/); + const match = workItem?.fields['System.Title']?.match(/\[GitHub #(\d+)\]/); if (match) { return match[1]; }