6

I use ZenHub to manage my Issues on GitHub. When I go to the detail of an issue I can see the property "pipeline" in GitHub which is exactly the column where the Issue is saved.

Now I want to get the pipeline information out of my issues using the API of GitHub. But none of the Issue-Methods GET /repos/:owner/:repo/issues or GET /repos/:owner/:repo/issues/:number seem to have any information about the pipeline. Is it hidden anywhere else?enter image description here

Ole Albers
  • 8,715
  • 10
  • 73
  • 166

2 Answers2

9

Pipeline is purely a ZenHub feature.

As such, it is not exposed in the Github API Issues (or in any other GitHub API)

A ZenHub public API is in the making (issue 172).

Update: The API is available: ZenHub API

Ole Albers
  • 8,715
  • 10
  • 73
  • 166
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
2

With the Github API v4, you can query the combinedContexts of a commit to retrieve a list of status contexts and check runs for the commit triggering your pipelines.

Veve
  • 6,643
  • 5
  • 39
  • 58