Skip to content

Christopher-Wolf-ibm/Zenhub-Integration-POC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Zenhub-Integration-POC

This is a playground to determine how to use the ZenHub API in order to automate adding a sprint to a new issue when that sprint begins.

Setup

You will need a few environment variables to make this application work.

ZenHub API Key

You will need an API key to authorize access to ZenHub. It is expected to be stored as the ZENHUB_KEY environment variable. Documentation to acquire a ZenHub API key (for IBM users only) can be found here.

GitHub Repository ID

You will need the repository ID for the GitHub repo you are trying to work with. It is expected to be stored as GITHUB_REPO_ID. You can acquire the repo ID by running the below command

curl https://api.github.com/repos/<username>/<reponame>

It will be stored as the id field in the returned JSON. NOTE: You may need to include a GitHub API key in your curl header if you are working with a private repository.

Usage

go run cmd/cmd.go

Current state

Currently, this project is just a test in running GraphQL commands with GoLang. To practice, this project currently runs a GraphQL query against the SpaceX API

Future Plans: - Get the current pipeline (In Progress/Backlog/etc) for each issue - Add a sprint to each issue through the API - Add a sprint to only the issues that are in progress and

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages