From cce01c1c1147e0ebc94f7a717dc62dc70bfd959c Mon Sep 17 00:00:00 2001 From: Belle P Date: Wed, 20 Nov 2024 09:16:04 -0800 Subject: [PATCH] Debugging why set-start-end-date was not triggered --- .github/workflows/set-start-end-date-issue-status.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/set-start-end-date-issue-status.yml b/.github/workflows/set-start-end-date-issue-status.yml index ba9cd86..4b2d3ab 100644 --- a/.github/workflows/set-start-end-date-issue-status.yml +++ b/.github/workflows/set-start-end-date-issue-status.yml @@ -23,8 +23,6 @@ jobs: ... on ProjectV2 { fields(first: 20) { nodes { - id - name ... on ProjectV2SingleSelectField { id name @@ -107,7 +105,7 @@ jobs: console.log(`Issue status: ${statusFieldValue}`); // Step 3: Update Start Date for "In Progress" status - if (statusFieldValue === 'In Progress') { + if (statusFieldValue === 'In progress') { console.log(`Updating Start Date for issue ${issueNodeId}`); await github.graphql(` mutation($projectId: ID!, $itemId: ID!, $fieldId: ID!, $value: String!) { @@ -156,4 +154,4 @@ jobs: }); console.log(`End date set to ${now} for issue.`); - } + } \ No newline at end of file