This repository has been archived by the owner on Jul 27, 2020. It is now read-only.
/
create-an-issue.json
58 lines (58 loc) · 1.88 KB
/
create-an-issue.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "Create an issue",
"enabledForApps": true,
"method": "POST",
"path": "/repos/:owner/:repo/issues",
"params": [
{
"name": "owner",
"type": "string",
"required": true,
"description": ""
},
{
"name": "repo",
"type": "string",
"required": true,
"description": ""
},
{
"name": "title",
"type": "string",
"description": "The title of the issue.",
"required": true
},
{
"name": "body",
"type": "string",
"description": "The contents of the issue.",
"required": false
},
{
"name": "assignee",
"type": "string",
"description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_",
"required": false
},
{
"name": "milestone",
"type": "integer",
"description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._",
"required": false
},
{
"name": "labels",
"type": "array of strings",
"description": "Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._",
"required": false
},
{
"name": "assignees",
"type": "array of strings",
"description": "Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._",
"required": false
}
],
"description": "Any user with pull access to a repository can create an issue.",
"documentationUrl": "https://developer.github.com/v3/issues/#create-an-issue"
}