diff --git a/.github/workflows/update-issue-status.yml b/.github/workflows/update-issue-status.yml index 243b572..48c1ca6 100644 --- a/.github/workflows/update-issue-status.yml +++ b/.github/workflows/update-issue-status.yml @@ -94,7 +94,7 @@ jobs: echo "Updating issue #$issue_number status to 'Done'" # GraphQL Mutation to update status - query="{\"query\": \"mutation { updateProjectV2ItemFieldValue(input: { projectId: \\\"$project_id\\\", itemId: \\\"$issue_id\\\", fieldId: \\\"$status_field_id\\\", value: { id: \\\"$done_option_id\\\" } }) { projectV2Item { id content { ... on Issue { id number title } } } } }\"}" + query="{\"query\": \"mutation { updateProjectV2ItemFieldValue(input: { projectId: \\\"$project_id\\\", itemId: \\\"$issue_id\\\", fieldId: \\\"$status_field_id\\\", value: { singleSelectOptionId: \\\"$done_option_id\\\" } }) { projectV2Item { id content { ... on Issue { id number title } } } } }\"}" response=$(curl -H "Authorization: Bearer ${{ secrets.GH_TOKEN }}" \ -X POST \