field:total_time_spent,GraphQL::INT_TYPE,null: false,description: 'Total time reported as spent on the merge request'
description: 'Time estimate of the merge request'
field:reference,GraphQL::STRING_TYPE,null: false,method: :to_reference,description: 'Internal merge request reference. Returned in shortened format by default'do
argument:full,GraphQL::BOOLEAN_TYPE,required: false,default_value: false,description: 'Boolean option specifying whether the reference should be returned in full'
description: 'Total time reported as spent on the merge request'
description: 'Indicates if no merge commits should be created and all merges should instead be fast-forwarded, which means that merging is only allowed if the branch could be fast-forwarded.'
description: 'Indicates if a link to create or view a merge request should display after a push to Git repositories of the project from the command line'
| `defaultMergeCommitMessage` | String | Default merge commit message of the merge request |
| `mergeOngoing` | Boolean! | |
| `mergeOngoing` | Boolean! | Indicates if a merge is currently occurring |
| `sourceBranchExists` | Boolean! | |
| `sourceBranchExists` | Boolean! | Indicates if the source branch of the merge request exists |
| `mergeableDiscussionsState` | Boolean | |
| `mergeableDiscussionsState` | Boolean | Indicates if all discussions in the merge request have been resolved, allowing the merge request to be merged |
| `webUrl` | String | |
| `webUrl` | String | Web URL of the merge request |
| `upvotes` | Int! | |
| `upvotes` | Int! | Number of upvotes for the merge request |
| `downvotes` | Int! | |
| `downvotes` | Int! | Number of downvotes for the merge request |
| `headPipeline` | Pipeline | |
| `headPipeline` | Pipeline | The pipeline running on the branch HEAD of the merge request |
| `milestone` | Milestone | The milestone this merge request is linked to |
| `milestone` | Milestone | The milestone of the merge request |
| `subscribed` | Boolean! | Boolean flag for whether the currently logged in user is subscribed to this MR |
| `subscribed` | Boolean! | Indicates if the currently logged in user is subscribed to this merge request |
| `discussionLocked` | Boolean! | Boolean flag determining if comments on the merge request are locked to members only |
| `discussionLocked` | Boolean! | Indicates if comments on the merge request are locked to members only |
| `timeEstimate` | Int! | The time estimate for the merge request |
| `timeEstimate` | Int! | Time estimate of the merge request |
| `totalTimeSpent` | Int! | Total time reported as spent on the merge request |
| `totalTimeSpent` | Int! | Total time reported as spent on the merge request |
| `reference` | String! | Internal merge request reference. Returned in shortened format by default |
| `reference` | String! | Internal reference of the merge request. Returned in shortened format by default |
| `taskCompletionStatus` | TaskCompletionStatus! | Completion status of tasks |
### MergeRequestPermissions
### MergeRequestPermissions
...
@@ -477,36 +477,36 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -477,36 +477,36 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
| `version` | String! | |
| `version` | String! | Version |
| `revision` | String! | |
| `revision` | String! | Revision |
### Milestone
### Milestone
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
| `description` | String | |
| `description` | String | Description of the milestone |
| `title` | String! | |
| `title` | String! | Title of the milestone |
| `state` | String! | |
| `state` | String! | State of the milestone |
| `dueDate` | Time | |
| `dueDate` | Time | Timestamp of the milestone due date |
| `startDate` | Time | |
| `startDate` | Time | Timestamp of the milestone start date |
| `createdAt` | Time! | |
| `createdAt` | Time! | Timestamp of milestone creation |
| `updatedAt` | Time! | |
| `updatedAt` | Time! | Timestamp of last milestone update |
### Namespace
### Namespace
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
| `id` | ID! | |
| `id` | ID! | ID of the namespace |
| `name` | String! | |
| `name` | String! | Name of the namespace |
| `path` | String! | |
| `path` | String! | Path of the namespace |
| `fullName` | String! | |
| `fullName` | String! | Full name of the namespace |
| `fullPath` | ID! | |
| `fullPath` | ID! | Full path of the namespace |
| `description` | String | |
| `description` | String | Description of the namespace |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `visibility` | String | |
| `visibility` | String | Visibility of the namespace |
| `lfsEnabled` | Boolean | |
| `lfsEnabled` | Boolean | Indicates if Large File Storage (LFS) is enabled for namespace |
| `requestAccessEnabled` | Boolean | |
| `requestAccessEnabled` | Boolean | Indicates if users can request access to namespace |
| `rootStorageStatistics` | RootStorageStatistics | The aggregated storage statistics. Only available for root namespaces |
| `rootStorageStatistics` | RootStorageStatistics | Aggregated storage statistics of the namespace. Only available for root namespaces |
### Note
### Note
...
@@ -578,47 +578,47 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -578,47 +578,47 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
| `userPermissions` | ProjectPermissions! | Permissions for the current user on the resource |
| `userPermissions` | ProjectPermissions! | Permissions for the current user on the resource |
| `id` | ID! | |
| `id` | ID! | ID of the project |
| `fullPath` | ID! | |
| `fullPath` | ID! | Full path of the project |
| `path` | String! | |
| `path` | String! | Path of the project |
| `nameWithNamespace` | String! | |
| `nameWithNamespace` | String! | Full name of the project with its namespace |
| `name` | String! | |
| `name` | String! | Name of the project (without namespace) |
| `description` | String | |
| `description` | String | Short description of the project |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `tagList` | String | |
| `tagList` | String | List of project tags |
| `sshUrlToRepo` | String | |
| `sshUrlToRepo` | String | URL to connect to the project via SSH |
| `httpUrlToRepo` | String | |
| `httpUrlToRepo` | String | URL to connect to the project via HTTPS |
| `webUrl` | String | |
| `webUrl` | String | Web URL of the project |
| `starCount` | Int! | |
| `starCount` | Int! | Number of times the project has been starred |
| `forksCount` | Int! | |
| `forksCount` | Int! | Number of times the project has been forked |
| `createdAt` | Time | |
| `createdAt` | Time | Timestamp of the project creation |
| `lastActivityAt` | Time | |
| `lastActivityAt` | Time | Timestamp of the project last activity |
| `archived` | Boolean | |
| `archived` | Boolean | Archived status of the project |
| `visibility` | String | |
| `visibility` | String | Visibility of the project |
| `containerRegistryEnabled` | Boolean | |
| `containerRegistryEnabled` | Boolean | Indicates if the project stores Docker container images in a container registry |
| `sharedRunnersEnabled` | Boolean | |
| `sharedRunnersEnabled` | Boolean | Indicates if shared runners are enabled on the project |
| `lfsEnabled` | Boolean | |
| `lfsEnabled` | Boolean | Indicates if the project has Large File Storage (LFS) enabled |
| `mergeRequestsFfOnlyEnabled` | Boolean | |
| `mergeRequestsFfOnlyEnabled` | Boolean | Indicates if no merge commits should be created and all merges should instead be fast-forwarded, which means that merging is only allowed if the branch could be fast-forwarded. |
| `avatarUrl` | String | |
| `avatarUrl` | String | URL to avatar image file of the project |
| `issuesEnabled` | Boolean | |
| `issuesEnabled` | Boolean | (deprecated) Does this project have issues enabled?. Use `issues_access_level` instead |
| `mergeRequestsEnabled` | Boolean | |
| `mergeRequestsEnabled` | Boolean | (deprecated) Does this project have merge_requests enabled?. Use `merge_requests_access_level` instead |
| `wikiEnabled` | Boolean | |
| `wikiEnabled` | Boolean | (deprecated) Does this project have wiki enabled?. Use `wiki_access_level` instead |
| `snippetsEnabled` | Boolean | |
| `snippetsEnabled` | Boolean | (deprecated) Does this project have snippets enabled?. Use `snippets_access_level` instead |
| `jobsEnabled` | Boolean | |
| `jobsEnabled` | Boolean | (deprecated) Enable jobs for this project. Use `builds_access_level` instead |
| `publicJobs` | Boolean | |
| `publicJobs` | Boolean | Indicates if there is public access to pipelines and job details of the project, including output logs and artifacts |
| `openIssuesCount` | Int | |
| `openIssuesCount` | Int | Number of open issues for the project |
| `importStatus` | String | |
| `importStatus` | String | Status of project import background job of the project |
| `onlyAllowMergeIfAllDiscussionsAreResolved` | Boolean | Indicates if merge requests of the project can only be merged when all the discussions are resolved |
| `printingMergeRequestLinkEnabled` | Boolean | |
| `printingMergeRequestLinkEnabled` | Boolean | Indicates if a link to create or view a merge request should display after a push to Git repositories of the project from the command line |
| `removeSourceBranchAfterMerge` | Boolean | Remove the source branch by default after merge |
| `removeSourceBranchAfterMerge` | Boolean | Indicates if `Delete source branch` option should be enabled by default for all new merge requests of the project |
| `namespace` | Namespace | |
| `namespace` | Namespace | Namespace of the project |
| `group` | Group | |
| `group` | Group | Group of the project |
| `statistics` | ProjectStatistics | |
| `statistics` | ProjectStatistics | Statistics of the project |
| `repository` | Repository | |
| `repository` | Repository | Git repository of the project |
| `mergeRequest` | MergeRequest | |
| `mergeRequest` | MergeRequest | A single merge request of the project |
| `issue` | ExtendedIssue | |
| `issue` | ExtendedIssue | A single issue of the project |
### ProjectPermissions
### ProjectPermissions
...
@@ -670,13 +670,13 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -670,13 +670,13 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
| `commitCount` | Int! | |
| `commitCount` | Int! | Commit count of the project |
| `storageSize` | Int! | |
| `storageSize` | Int! | Storage size of the project |
| `repositorySize` | Int! | |
| `repositorySize` | Int! | Repository size of the project |
| `lfsObjectsSize` | Int! | |
| `lfsObjectsSize` | Int! | Large File Storage (LFS) object size of the project |
| `buildArtifactsSize` | Int! | |
| `buildArtifactsSize` | Int! | Build artifacts size of the project |
| `packagesSize` | Int! | |
| `packagesSize` | Int! | Packages size of the project |
| `wikiSize` | Int | |
| `wikiSize` | Int | Wiki size of the project |
### RemoveAwardEmojiPayload
### RemoveAwardEmojiPayload
...
@@ -690,10 +690,10 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -690,10 +690,10 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
| `rootRef` | String | |
| `rootRef` | String | Default branch of the repository |
| `empty` | Boolean! | |
| `empty` | Boolean! | Indicates repository has no visible content |
| `exists` | Boolean! | |
| `exists` | Boolean! | Indicates a corresponding Git repository exists on disk |
| `tree` | Tree | |
| `tree` | Tree | Tree of the repository |
### RootStorageStatistics
### RootStorageStatistics
...
@@ -722,8 +722,8 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -722,8 +722,8 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
| `count` | Int! | |
| `count` | Int! | Number of total tasks |
| `completedCount` | Int! | |
| `completedCount` | Int! | Number of completed tasks |
### Todo
### Todo
...
@@ -785,7 +785,7 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
...
@@ -785,7 +785,7 @@ The API can be explored interactively using the [GraphiQL IDE](../index.md#graph
| Name | Type | Description |
| Name | Type | Description |
| --- | ---- | ---------- |
| --- | ---- | ---------- |
| `name` | String! | |
| `name` | String! | Human-readable name of the user |
| `username` | String! | |
| `username` | String! | Username of the user. Unique within this instance of GitLab |
| `avatarUrl` | String! | |
| `avatarUrl` | String! | URL of the user's avatar |
expect(page).tohave_content("The commit has been successfully cherry-picked into cherry-pick-#{master_pickable_commit.short_id}. You can now submit a merge request to get this change into the original branch.")
expect(page).tohave_content("The commit has been successfully cherry-picked into cherry-pick-#{master_pickable_commit.short_id}. You can now submit a merge request to get this change into the original branch.")
expect(page).tohave_content("From cherry-pick-#{master_pickable_commit.short_id} into master")
expect(page).tohave_content("From cherry-pick-#{master_pickable_commit.short_id} into master")