I want to retrieve issues by pipelineID in a GraphQL query, but I don’t know how to get the pipelineID. Is there a query or somewhere to go in ZenHub to get the pipelineID?
Hey @loripusey,
Here’s a query you can use to get all the pipelines in a given workspace:
{
workspace (id: "myWorkspaceIdHere") {
pipelinesConnection {
nodes {
id
name
}
}
}
}
Hope that helps!
It looks like you’ve entered the repo ID as provided by Github.
Please try the following query to find your repositoryId per Zenhub:
query ($workspaceId: ID!) {
workspace(id: $workspaceId) {
id
displayName
repositories {
id
name
}
}
}
Variables:
{
"workspaceId": "yourworkspaceIDhere"
}
The Github repo ID is returned as the id
That worked, thank you!
