1
0
mirror of synced 2026-01-03 06:04:16 -05:00

Merge pull request #22044 from zswaff/patch-1

Update documentation mistake with curl API for mutating iteration fields
This commit is contained in:
Courtney Wilson
2022-11-16 16:01:29 -06:00
committed by GitHub

View File

@@ -660,7 +660,7 @@ The following example will update the value of an iteration field for an item.
curl --request POST \
--url https://api.github.com/graphql \
--header 'Authorization: Bearer TOKEN' \
--data '{"query":"mutation {updateProjectV2ItemFieldValue( input: { projectId: \"PROJECT_ID\" itemId: \"ITEM_ID\" fieldId: \"FIELD_ID\" value: { singleSelectOptionId: \"OPTION_ID\" }}) { projectV2Item { id }}}"}'
--data '{"query":"mutation {updateProjectV2ItemFieldValue( input: { projectId: \"PROJECT_ID\" itemId: \"ITEM_ID\" fieldId: \"FIELD_ID\" value: { iterationId: \"ITERATION_ID\" }}) { projectV2Item { id }}}"}'
```
{% endcurl %}