Skip to contents

Add Issue to Github Project

Usage

add_project_issue(gq, project_id, issue_id, verbose = FALSE)

Arguments

gq

GraphQL connection object from `get_gq()`

project_id

Project ID

issue_id

Issue ID

verbose

Print GraphQL query; default=FALSE

Value

ID of new item in project

Examples

if (FALSE) {
 token <- Sys.getenv("GITHUB_TOKEN")
 gq <- get_gq(token)
 prj <- get_project_id(gq, owner = "MarineSensitivities", num = 1)
 #TODO: get issues from repository
}