From 9db23786b56632cbef2d8d6c546e3017641c582d Mon Sep 17 00:00:00 2001 From: Marius Cristea Date: Thu, 30 Jun 2022 11:00:18 +0300 Subject: [PATCH] [skip ci] update new issues workflow for new API --- .github/workflows/new-issues.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/new-issues.yml b/.github/workflows/new-issues.yml index dd24303..e829ca1 100644 --- a/.github/workflows/new-issues.yml +++ b/.github/workflows/new-issues.yml @@ -25,15 +25,17 @@ jobs: $status_field: ID! $status_value: String! ) { - updateProjectNextItemField( + updateProjectV2ItemFieldValue( input: { - projectId: $project + projectId: $project itemId: $item fieldId: $status_field - value: $status_value + value: { + singleSelectOptionId: $status_value + } } ) { - projectNextItem { + projectV2Item { id } }