gh_new_issue: Create a GitHub issue in a repository.

Description Usage Arguments Value See Also Examples

View source: R/issues.R

Description

Create a GitHub issue in a repository.

Usage

1
2
3
4
5
6
7
8
gh_new_issue(
  repo,
  title,
  body = NULL,
  labels = NULL,
  assignees = NULL,
  milestone = NULL
)

Arguments

repo

Repository name in the form of "username/reponame" or "orgname/reponame", e.g. "lwjohnst86/githubr".

title

The title of the issue.

body

Add a description to the issue.

labels

Add a label or labels to the issue.

assignees

Assign a collaborator to deal with the issue.

milestone

The milestone (as a number) to add to the issue.

Value

Has no output.

See Also

See githubr-package.

Examples

1
2
3
4
## Not run: 
gh_new_issue("lwjohnst86/test-githubr", title = "Example issue", labels = "bug")

## End(Not run)

rostools/githubr documentation built on Aug. 17, 2020, 6:49 p.m.