Function github_rest::methods::create_issue
source · pub async fn create_issue<T>(
client: &T,
owner: impl Into<String>,
repo: impl Into<String>,
body: &CreateIssueBody
) -> Result<Issue, GithubRestError>where
T: Requester,
Expand description
- tags issues
- post
/repos/{owner}/{repo}/issues
- docs https://docs.github.com/rest/reference/issues#create-an-issue
Create an issue
Any user with pull access to a repository can create an issue. If issues are disabled in the repository, the API returns a 410 Gone
status.
This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. See “Secondary rate limits” and “Dealing with secondary rate limits” for details.