Skip to content

Commit

Permalink
Merge pull request #226 from department-of-veterans-affairs/bp-193-re…
Browse files Browse the repository at this point in the history
…view-github-actions

[#199] Changed to singleSelectOptionId
  • Loading branch information
bellepx0 authored Nov 19, 2024
2 parents 8f3d0c5 + 0f4f624 commit 94e916c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-issue-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 94e916c

Please sign in to comment.