Skip to content

Commit 4f32df2

Browse files
committed
Add optionId to field logging in add-to-backlog-project workflow
1 parent 7941117 commit 4f32df2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/add-to-backlog-project.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
}
6868
}
6969
}
70+
optionId
7071
}
7172
}
7273
}
@@ -89,9 +90,10 @@ jobs:
8990
console.log(` - Type: ${f.__typename}`);
9091
console.log(` - Field ID: ${f.field?.id}`);
9192
console.log(` - Option ID: ${f.optionId}`);
93+
console.log("Field Value Object:", JSON.stringify(f, null, 2));
9294
});
9395
});
94-
96+
9597
// Filter only issues with "Done" status
9698
const doneItems = items.filter(item =>
9799
item.fieldValues.nodes.some(f => f.__typename === "ProjectV2ItemFieldSingleSelectValue" &&

0 commit comments

Comments
 (0)