edit_issue: Edit an issue

Description Usage Arguments Examples

View source: R/edit-issue.R

Description

Edit an issue

Usage

1
edit_issue(base_url, api_key, owner, repo, id_issue, title, body, state)

Arguments

base_url

The base URL for your gitea server (no trailing '/')

api_key

The user's API token key for the gitea service

owner

The owner of the repo

repo

The name of the repo

id_issue

Index of the issue to edit

title

The new issue title text

body

The new issue body text

state

The issue state

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
edit_issue(base_url = "https://example.gitea.service.com",
           api_key = "ccaf5c9a22e854856d0c5b1b96c81e851bafb288",
           owner = "company",
           repo = "test_repo",
           id_issue = 3,
           title = "My new title for this issue",
           body = "My new comment starts on this issue",
           state = "open")

## End(Not run)

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