Created
December 20, 2022 04:16
-
-
Save heyMP/50a79f50f1eb4a4f526474fbf3b3b6dc to your computer and use it in GitHub Desktop.
Get Issue Statuses in Projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query ($issue_id: ID!) { | |
node(id: $issue_id) { | |
__typename | |
... on Issue { | |
id | |
title | |
number | |
projectV2(number: 1) { | |
id | |
items(first: 100) { | |
nodes { | |
id | |
fieldValueByName(name: "Status") { | |
... on ProjectV2ItemFieldSingleSelectValue { | |
name | |
} | |
} | |
} | |
totalCount | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment