create_issue: Create a new issue

Description Usage Arguments Value Examples

View source: R/create-issue.R

Description

Create an new issue in a specific repository

Usage

1
create_issue(base_url, api_key, owner, repo, title, body)

Arguments

base_url

URL prefix for your gitea server (no trailing '/')

api_key

The user's API token key for the gitea service

owner

The owner of the repository

repo

The name of the repository

title

The title of the issue

body

The body text of the issue

Value

list with results of the new issue

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
create_issue(base_url = "https://example.gitea.service.com",
             api_key = "ccaf5c9a22e854856d0c5b1b96c81e851bafb288",
             owner = "company",
             repo = "test_repo",
             title = "Perform clean code task",
             body = "Perform in an orderly manner and document steps")

## End(Not run)

gitear documentation built on Jan. 13, 2021, 9:44 p.m.