Update issue automation

Stop using deprecated ProjectNext API in favour of the new ProjectV2 one
This commit is contained in:
Kat Gerasimova
2022-11-03 10:15:19 +00:00
committed by Stefan Ceriu
parent 4613067d0f
commit 2e86313965
+2 -2
View File
@@ -23,8 +23,8 @@ jobs:
headers: '{"GraphQL-Features": "projects_next_graphql"}' headers: '{"GraphQL-Features": "projects_next_graphql"}'
query: | query: |
mutation add_to_project($projectid:ID!,$contentid:ID!) { mutation add_to_project($projectid:ID!,$contentid:ID!) {
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { addProjectV2ItemById(input: {projectId: $projectid contentId: $contentid}) {
projectNextItem { item {
id id
} }
} }