Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
227d2967
Commit
227d2967
authored
Jul 31, 2020
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update graphql schema
parent
5e9bd39f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
388 additions
and
0 deletions
+388
-0
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+110
-0
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+266
-0
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+12
-0
No files found.
doc/api/graphql/reference/gitlab_schema.graphql
View file @
227d2967
...
...
@@ -7252,6 +7252,31 @@ enum IssueState {
opened
}
"""
Represents total number of issues for the represented categories
"""
type
IssueStatusCountsType
{
"""
Number
of
issues
with
status
ALL
for
the
project
"""
all
:
Int
"""
Number
of
issues
with
status
CLOSED
for
the
project
"""
closed
:
Int
"""
Number
of
issues
with
status
MERGED
for
the
project
"""
merged
:
Int
"""
Number
of
issues
with
status
OPENED
for
the
project
"""
opened
:
Int
}
"""
Issue type
"""
...
...
@@ -10273,6 +10298,91 @@ type Project {
updatedBefore
:
Time
):
Issue
"""
Counts
of
issues
by
status
for
the
project
"""
issueStatusCounts
(
"""
ID
of
a
user
assigned
to
the
issues
,
"
none
"
and
"
any
"
values
supported
"""
assigneeId
:
String
"""
Username
of
a
user
assigned
to
the
issues
"""
assigneeUsername
:
String
"""
Issues
closed
after
this
date
"""
closedAfter
:
Time
"""
Issues
closed
before
this
date
"""
closedBefore
:
Time
"""
Issues
created
after
this
date
"""
createdAfter
:
Time
"""
Issues
created
before
this
date
"""
createdBefore
:
Time
"""
IID
of
the
issue
.
For
example
,
"1"
"""
iid
:
String
"""
List
of
IIDs
of
issues
.
For
example
,
[1
,
2]
"""
iids
:
[
String
!]
"""
Labels
applied
to
this
issue
"""
labelName
:
[
String
]
"""
Milestones
applied
to
this
issue
"""
milestoneTitle
:
[
String
]
"""
Search
query
for
issue
title
or
description
"""
search
:
String
"""
Sort
issues
by
this
criteria
"""
sort
:
IssueSort
=
created_desc
"""
Current
state
of
this
issue
"""
state
:
IssuableState
"""
Filter
issues
by
the
given
issue
types
"""
types
:
[
IssueType
!]
"""
Issues
updated
after
this
date
"""
updatedAfter
:
Time
"""
Issues
updated
before
this
date
"""
updatedBefore
:
Time
):
IssueStatusCountsType
"""
Issues
of
the
project
"""
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
227d2967
...
...
@@ -20001,6 +20001,75 @@
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "IssueStatusCountsType",
"description": "Represents total number of issues for the represented categories",
"fields": [
{
"name": "all",
"description": "Number of issues with status ALL for the project",
"args": [
],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "closed",
"description": "Number of issues with status CLOSED for the project",
"args": [
],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "merged",
"description": "Number of issues with status MERGED for the project",
"args": [
],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "opened",
"description": "Number of issues with status OPENED for the project",
"args": [
],
"type": {
"kind": "SCALAR",
"name": "Int",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "IssueType",
...
...
@@ -30639,6 +30708,203 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "issueStatusCounts",
"description": "Counts of issues by status for the project",
"args": [
{
"name": "iid",
"description": "IID of the issue. For example, \"1\"",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "iids",
"description": "List of IIDs of issues. For example, [1, 2]",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
},
"defaultValue": null
},
{
"name": "state",
"description": "Current state of this issue",
"type": {
"kind": "ENUM",
"name": "IssuableState",
"ofType": null
},
"defaultValue": null
},
{
"name": "labelName",
"description": "Labels applied to this issue",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "milestoneTitle",
"description": "Milestones applied to this issue",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "assigneeUsername",
"description": "Username of a user assigned to the issues",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "assigneeId",
"description": "ID of a user assigned to the issues, \"none\" and \"any\" values supported",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "createdBefore",
"description": "Issues created before this date",
"type": {
"kind": "SCALAR",
"name": "Time",
"ofType": null
},
"defaultValue": null
},
{
"name": "createdAfter",
"description": "Issues created after this date",
"type": {
"kind": "SCALAR",
"name": "Time",
"ofType": null
},
"defaultValue": null
},
{
"name": "updatedBefore",
"description": "Issues updated before this date",
"type": {
"kind": "SCALAR",
"name": "Time",
"ofType": null
},
"defaultValue": null
},
{
"name": "updatedAfter",
"description": "Issues updated after this date",
"type": {
"kind": "SCALAR",
"name": "Time",
"ofType": null
},
"defaultValue": null
},
{
"name": "closedBefore",
"description": "Issues closed before this date",
"type": {
"kind": "SCALAR",
"name": "Time",
"ofType": null
},
"defaultValue": null
},
{
"name": "closedAfter",
"description": "Issues closed after this date",
"type": {
"kind": "SCALAR",
"name": "Time",
"ofType": null
},
"defaultValue": null
},
{
"name": "search",
"description": "Search query for issue title or description",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
},
{
"name": "sort",
"description": "Sort issues by this criteria",
"type": {
"kind": "ENUM",
"name": "IssueSort",
"ofType": null
},
"defaultValue": "created_desc"
},
{
"name": "types",
"description": "Filter issues by the given issue types",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "IssueType",
"ofType": null
}
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "IssueStatusCountsType",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "issues",
"description": "Issues of the project",
doc/api/graphql/reference/index.md
View file @
227d2967
...
...
@@ -1104,6 +1104,17 @@ Autogenerated return type of IssueSetWeight
|
`errors`
| String! => Array | Errors encountered during execution of the mutation. |
|
`issue`
| Issue | The issue after mutation |
## IssueStatusCountsType
Represents total number of issues for the represented categories
| Name | Type | Description |
| --- | ---- | ---------- |
|
`all`
| Int | Number of issues with status ALL for the project |
|
`closed`
| Int | Number of issues with status CLOSED for the project |
|
`merged`
| Int | Number of issues with status MERGED for the project |
|
`opened`
| Int | Number of issues with status OPENED for the project |
## Iteration
Represents an iteration object.
...
...
@@ -1560,6 +1571,7 @@ Information about pagination in a connection.
|
`id`
| ID! | ID of the project |
|
`importStatus`
| String | Status of import background job of the project |
|
`issue`
| Issue | A single issue of the project |
|
`issueStatusCounts`
| IssueStatusCountsType | Counts of issues by status for the project |
|
`issuesEnabled`
| Boolean | Indicates if Issues are enabled for the current user |
|
`jiraImportStatus`
| String | Status of Jira import background job of the project |
|
`jobsEnabled`
| Boolean | Indicates if CI/CD pipeline jobs are enabled for the current user |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment