diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-13 12:08:29 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-13 12:08:29 +0000 |
commit | cdd5eba514e79c7801ff2eeb76e915e3f31ca5d7 (patch) | |
tree | cce52f5607283999f173aefdfa28b5be708cfb96 /doc/api | |
parent | 8dae4070d259ad9d2e9016eeeb450efb95c80b1c (diff) | |
download | gitlab-ce-cdd5eba514e79c7801ff2eeb76e915e3f31ca5d7.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/graphql/reference/index.md | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index f46b0f4d2dc..34724733810 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -15806,6 +15806,31 @@ four standard [pagination arguments](#connection-pagination-arguments): | ---- | ---- | ----------- | | <a id="projectworkitemtypestaskable"></a>`taskable` | [`Boolean`](#boolean) | If `true`, only taskable work item types will be returned. Argument is experimental and can be removed in the future without notice. | +##### `Project.workItems` + +Work items of the project. + +WARNING: +**Deprecated** in 15.1. +This feature is in Alpha, and can be removed or changed at any point. + +Returns [`WorkItemConnection`](#workitemconnection). + +This field returns a [connection](#connections). It accepts the +four standard [pagination arguments](#connection-pagination-arguments): +`before: String`, `after: String`, `first: Int`, `last: Int`. + +###### Arguments + +| Name | Type | Description | +| ---- | ---- | ----------- | +| <a id="projectworkitemsiid"></a>`iid` | [`String`](#string) | IID of the issue. For example, "1". | +| <a id="projectworkitemsiids"></a>`iids` | [`[String!]`](#string) | List of IIDs of work items. For example, `["1", "2"]`. | +| <a id="projectworkitemssearch"></a>`search` | [`String`](#string) | Search query for title or description. | +| <a id="projectworkitemssort"></a>`sort` | [`WorkItemSort`](#workitemsort) | Sort work items by this criteria. | +| <a id="projectworkitemsstate"></a>`state` | [`IssuableState`](#issuablestate) | Current state of this work item. | +| <a id="projectworkitemstypes"></a>`types` | [`[IssueType!]`](#issuetype) | Filter work items by the given work item types. | + ### `ProjectCiCdSetting` #### Fields @@ -19887,6 +19912,23 @@ Weight ID wildcard values. | <a id="weightwildcardidany"></a>`ANY` | Weight is assigned. | | <a id="weightwildcardidnone"></a>`NONE` | No weight is assigned. | +### `WorkItemSort` + +Values for sorting work items. + +| Value | Description | +| ----- | ----------- | +| <a id="workitemsortcreated_asc"></a>`CREATED_ASC` | Created at ascending order. | +| <a id="workitemsortcreated_desc"></a>`CREATED_DESC` | Created at descending order. | +| <a id="workitemsorttitle_asc"></a>`TITLE_ASC` | Title by ascending order. | +| <a id="workitemsorttitle_desc"></a>`TITLE_DESC` | Title by descending order. | +| <a id="workitemsortupdated_asc"></a>`UPDATED_ASC` | Updated at ascending order. | +| <a id="workitemsortupdated_desc"></a>`UPDATED_DESC` | Updated at descending order. | +| <a id="workitemsortcreated_asc"></a>`created_asc` **{warning-solid}** | **Deprecated** in 13.5. This was renamed. Use: `CREATED_ASC`. | +| <a id="workitemsortcreated_desc"></a>`created_desc` **{warning-solid}** | **Deprecated** in 13.5. This was renamed. Use: `CREATED_DESC`. | +| <a id="workitemsortupdated_asc"></a>`updated_asc` **{warning-solid}** | **Deprecated** in 13.5. This was renamed. Use: `UPDATED_ASC`. | +| <a id="workitemsortupdated_desc"></a>`updated_desc` **{warning-solid}** | **Deprecated** in 13.5. This was renamed. Use: `UPDATED_DESC`. | + ### `WorkItemState` State of a GitLab work item. |