MergeRequest

object MergeRequest
class Object
trait Matchable
class Any

Value members

Concrete methods

def allowCollaboration: SelectionBuilder[MergeRequest, Option[Boolean]]

Indicates if members of the target project can push to the fork.

Indicates if members of the target project can push to the fork.

def approvalsLeft: SelectionBuilder[MergeRequest, Option[Int]]

Number of approvals left.

Number of approvals left.

def approvalsRequired: SelectionBuilder[MergeRequest, Option[Int]]

Number of approvals required.

Number of approvals required.

def approved: SelectionBuilder[MergeRequest, Boolean]

Indicates if the merge request has all the required approvals. Returns true if no required approvals are configured.

Indicates if the merge request has all the required approvals. Returns true if no required approvals are configured.

def approvedBy[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[UserCoreConnection, A]): SelectionBuilder[MergeRequest, Option[A]]

Users who approved the merge request.

Users who approved the merge request.

def assignees[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[MergeRequestAssigneeConnection, A]): SelectionBuilder[MergeRequest, Option[A]]

Assignees of the merge request.

Assignees of the merge request.

def author[A](innerSelection: SelectionBuilder[UserCore, A]): SelectionBuilder[MergeRequest, Option[A]]

User who created this merge request.

User who created this merge request.

def autoMergeEnabled: SelectionBuilder[MergeRequest, Boolean]

Indicates if auto merge is enabled for the merge request.

Indicates if auto merge is enabled for the merge request.

def autoMergeStrategy: SelectionBuilder[MergeRequest, Option[String]]

Selected auto merge strategy.

Selected auto merge strategy.

def availableAutoMergeStrategies: SelectionBuilder[MergeRequest, Option[List[String]]]

Array of available auto merge strategies.

Array of available auto merge strategies.

def commitCount: SelectionBuilder[MergeRequest, Option[Int]]

Number of commits in the merge request.

Number of commits in the merge request.

def commitsWithoutMergeCommits[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[CommitConnection, A]): SelectionBuilder[MergeRequest, Option[A]]

Merge request commits excluding merge commits.

Merge request commits excluding merge commits.

def conflicts: SelectionBuilder[MergeRequest, Boolean]

Indicates if the merge request has conflicts.

Indicates if the merge request has conflicts.

def createdAt: SelectionBuilder[MergeRequest, Time]

Timestamp of when the merge request was created.

Timestamp of when the merge request was created.

def currentUserTodos[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int], state: Option[TodoStateEnum])(innerSelection: SelectionBuilder[TodoConnection, A]): SelectionBuilder[MergeRequest, A]

To-do items for the current user.

To-do items for the current user.

def defaultMergeCommitMessage: SelectionBuilder[MergeRequest, Option[String]]

Default merge commit message of the merge request.

Default merge commit message of the merge request.

def defaultMergeCommitMessageWithDescription: SelectionBuilder[MergeRequest, Option[String]]

Default merge commit message of the merge request with description.

Default merge commit message of the merge request with description.

def defaultSquashCommitMessage: SelectionBuilder[MergeRequest, Option[String]]

Default squash commit message of the merge request.

Default squash commit message of the merge request.

def description: SelectionBuilder[MergeRequest, Option[String]]

Description of the merge request (Markdown rendered as HTML for caching).

Description of the merge request (Markdown rendered as HTML for caching).

def descriptionHtml: SelectionBuilder[MergeRequest, Option[String]]

The GitLab Flavored Markdown rendering of description

The GitLab Flavored Markdown rendering of description

def diffHeadSha: SelectionBuilder[MergeRequest, Option[String]]

Diff head SHA of the merge request.

Diff head SHA of the merge request.

def diffRefs[A](innerSelection: SelectionBuilder[DiffRefs, A]): SelectionBuilder[MergeRequest, Option[A]]

References of the base SHA, the head SHA, and the start SHA for this merge request.

References of the base SHA, the head SHA, and the start SHA for this merge request.

def diffStats[A](path: Option[String])(innerSelection: SelectionBuilder[DiffStats, A]): SelectionBuilder[MergeRequest, Option[List[A]]]

Details about which files were changed in this merge request.

Details about which files were changed in this merge request.

def diffStatsSummary[A](innerSelection: SelectionBuilder[DiffStatsSummary, A]): SelectionBuilder[MergeRequest, Option[A]]

Summary of which files were changed in this merge request.

Summary of which files were changed in this merge request.

def discussionLocked: SelectionBuilder[MergeRequest, Boolean]

Indicates if comments on the merge request are locked to members only.

Indicates if comments on the merge request are locked to members only.

def discussions[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[DiscussionConnection, A]): SelectionBuilder[MergeRequest, A]

All discussions on this noteable.

All discussions on this noteable.

def divergedFromTargetBranch: SelectionBuilder[MergeRequest, Boolean]

Indicates if the source branch is behind the target branch.

Indicates if the source branch is behind the target branch.

def downvotes: SelectionBuilder[MergeRequest, Int]

Number of downvotes for the merge request.

Number of downvotes for the merge request.

def draft: SelectionBuilder[MergeRequest, Boolean]

Indicates if the merge request is a draft.

Indicates if the merge request is a draft.

def forceRemoveSourceBranch: SelectionBuilder[MergeRequest, Option[Boolean]]

Indicates if the project settings will lead to source branch deletion after merge.

Indicates if the project settings will lead to source branch deletion after merge.

def hasCi: SelectionBuilder[MergeRequest, Boolean]

Indicates if the merge request has CI.

Indicates if the merge request has CI.

def hasSecurityReports: SelectionBuilder[MergeRequest, Boolean]

Indicates if the source branch has any security reports.

Indicates if the source branch has any security reports.

def headPipeline[A](innerSelection: SelectionBuilder[Pipeline, A]): SelectionBuilder[MergeRequest, Option[A]]

The pipeline running on the branch HEAD of the merge request.

The pipeline running on the branch HEAD of the merge request.

def id: SelectionBuilder[MergeRequest, String]

ID of the merge request.

ID of the merge request.

def iid: SelectionBuilder[MergeRequest, String]

Internal ID of the merge request.

Internal ID of the merge request.

def inProgressMergeCommitSha: SelectionBuilder[MergeRequest, Option[String]]

Commit SHA of the merge request if merge is in progress.

Commit SHA of the merge request if merge is in progress.

def labels[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[LabelConnection, A]): SelectionBuilder[MergeRequest, Option[A]]

Labels of the merge request.

Labels of the merge request.

def mergeCommitSha: SelectionBuilder[MergeRequest, Option[String]]

SHA of the merge request commit (set once merged).

SHA of the merge request commit (set once merged).

def mergeError: SelectionBuilder[MergeRequest, Option[String]]

Error message due to a merge error.

Error message due to a merge error.

def mergeOngoing: SelectionBuilder[MergeRequest, Boolean]

Indicates if a merge is currently occurring.

Indicates if a merge is currently occurring.

def mergeStatus: SelectionBuilder[MergeRequest, Option[String]]

Status of the merge request.

Status of the merge request.

def mergeTrainsCount: SelectionBuilder[MergeRequest, Option[Int]]

Number of merge requests in the merge train.

Number of merge requests in the merge train.

def mergeUser[A](innerSelection: SelectionBuilder[UserCore, A]): SelectionBuilder[MergeRequest, Option[A]]

User who merged this merge request.

User who merged this merge request.

def mergeWhenPipelineSucceeds: SelectionBuilder[MergeRequest, Option[Boolean]]

Indicates if the merge has been set to be merged when its pipeline succeeds (MWPS).

Indicates if the merge has been set to be merged when its pipeline succeeds (MWPS).

def mergeable: SelectionBuilder[MergeRequest, Boolean]

Indicates if the merge request is mergeable.

Indicates if the merge request is mergeable.

def mergeableDiscussionsState: SelectionBuilder[MergeRequest, Option[Boolean]]

Indicates if all discussions in the merge request have been resolved, allowing the merge request to be merged.

Indicates if all discussions in the merge request have been resolved, allowing the merge request to be merged.

def mergedAt: SelectionBuilder[MergeRequest, Option[Time]]

Timestamp of when the merge request was merged, null if not merged.

Timestamp of when the merge request was merged, null if not merged.

def milestone[A](innerSelection: SelectionBuilder[Milestone, A]): SelectionBuilder[MergeRequest, Option[A]]

The milestone of the merge request.

The milestone of the merge request.

def notes[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[NoteConnection, A]): SelectionBuilder[MergeRequest, A]

All notes on this noteable.

All notes on this noteable.

def participants[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[UserCoreConnection, A]): SelectionBuilder[MergeRequest, Option[A]]

Participants in the merge request. This includes the author, assignees, reviewers, and users mentioned in notes.

Participants in the merge request. This includes the author, assignees, reviewers, and users mentioned in notes.

def pipelines[A](status: Option[PipelineStatusEnum], ref: Option[String], sha: Option[String], after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[PipelineConnection, A]): SelectionBuilder[MergeRequest, Option[A]]

Pipelines for the merge request. Note: for performance reasons, no more than the most recent 500 pipelines will be returned.

Pipelines for the merge request. Note: for performance reasons, no more than the most recent 500 pipelines will be returned.

def project[A](innerSelection: SelectionBuilder[Project, A]): SelectionBuilder[MergeRequest, A]

Alias for target_project.

Alias for target_project.

def projectId: SelectionBuilder[MergeRequest, Int]

ID of the merge request project.

ID of the merge request project.

def rebaseCommitSha: SelectionBuilder[MergeRequest, Option[String]]

Rebase commit SHA of the merge request.

Rebase commit SHA of the merge request.

def rebaseInProgress: SelectionBuilder[MergeRequest, Boolean]

Indicates if there is a rebase currently in progress for the merge request.

Indicates if there is a rebase currently in progress for the merge request.

def reference(full: Option[Boolean]): SelectionBuilder[MergeRequest, String]

Internal reference of the merge request. Returned in shortened format by default.

Internal reference of the merge request. Returned in shortened format by default.

def reviewers[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[MergeRequestReviewerConnection, A]): SelectionBuilder[MergeRequest, Option[A]]

Users from whom a review has been requested.

Users from whom a review has been requested.

def securityAutoFix: SelectionBuilder[MergeRequest, Option[Boolean]]

Indicates if the merge request is created by @GitLab-Security-Bot.

Indicates if the merge request is created by @GitLab-Security-Bot.

def securityReportsUpToDateOnTargetBranch: SelectionBuilder[MergeRequest, Boolean]

Indicates if the target branch security reports are out of date.

Indicates if the target branch security reports are out of date.

def shouldBeRebased: SelectionBuilder[MergeRequest, Boolean]

Indicates if the merge request will be rebased.

Indicates if the merge request will be rebased.

def shouldRemoveSourceBranch: SelectionBuilder[MergeRequest, Option[Boolean]]

Indicates if the source branch of the merge request will be deleted after merge.

Indicates if the source branch of the merge request will be deleted after merge.

def sourceBranch: SelectionBuilder[MergeRequest, String]

Source branch of the merge request.

Source branch of the merge request.

def sourceBranchExists: SelectionBuilder[MergeRequest, Boolean]

Indicates if the source branch of the merge request exists.

Indicates if the source branch of the merge request exists.

def sourceBranchProtected: SelectionBuilder[MergeRequest, Boolean]

Indicates if the source branch is protected.

Indicates if the source branch is protected.

def sourceProject[A](innerSelection: SelectionBuilder[Project, A]): SelectionBuilder[MergeRequest, Option[A]]

Source project of the merge request.

Source project of the merge request.

def sourceProjectId: SelectionBuilder[MergeRequest, Option[Int]]

ID of the merge request source project.

ID of the merge request source project.

def squash: SelectionBuilder[MergeRequest, Boolean]

Indicates if squash on merge is enabled.

Indicates if squash on merge is enabled.

def squashOnMerge: SelectionBuilder[MergeRequest, Boolean]

Indicates if squash on merge is enabled.

Indicates if squash on merge is enabled.

def state: SelectionBuilder[MergeRequest, MergeRequestState]

State of the merge request.

State of the merge request.

def subscribed: SelectionBuilder[MergeRequest, Boolean]

Indicates if the currently logged in user is subscribed to this merge request.

Indicates if the currently logged in user is subscribed to this merge request.

def targetBranch: SelectionBuilder[MergeRequest, String]

Target branch of the merge request.

Target branch of the merge request.

def targetBranchExists: SelectionBuilder[MergeRequest, Boolean]

Indicates if the target branch of the merge request exists.

Indicates if the target branch of the merge request exists.

def targetProject[A](innerSelection: SelectionBuilder[Project, A]): SelectionBuilder[MergeRequest, A]

Target project of the merge request.

Target project of the merge request.

def targetProjectId: SelectionBuilder[MergeRequest, Int]

ID of the merge request target project.

ID of the merge request target project.

def taskCompletionStatus[A](innerSelection: SelectionBuilder[TaskCompletionStatus, A]): SelectionBuilder[MergeRequest, A]

Completion status of tasks

Completion status of tasks

def timeEstimate: SelectionBuilder[MergeRequest, Int]

Time estimate of the merge request.

Time estimate of the merge request.

def timelogs[A](after: Option[String], before: Option[String], first: Option[Int], last: Option[Int])(innerSelection: SelectionBuilder[TimelogConnection, A]): SelectionBuilder[MergeRequest, A]

Timelogs on the merge request.

Timelogs on the merge request.

def title: SelectionBuilder[MergeRequest, String]

Title of the merge request.

Title of the merge request.

def titleHtml: SelectionBuilder[MergeRequest, Option[String]]

The GitLab Flavored Markdown rendering of title

The GitLab Flavored Markdown rendering of title

def totalTimeSpent: SelectionBuilder[MergeRequest, Int]

Total time reported as spent on the merge request.

Total time reported as spent on the merge request.

def updatedAt: SelectionBuilder[MergeRequest, Time]

Timestamp of when the merge request was last updated.

Timestamp of when the merge request was last updated.

def upvotes: SelectionBuilder[MergeRequest, Int]

Number of upvotes for the merge request.

Number of upvotes for the merge request.

def userDiscussionsCount: SelectionBuilder[MergeRequest, Option[Int]]

Number of user discussions in the merge request.

Number of user discussions in the merge request.

def userNotesCount: SelectionBuilder[MergeRequest, Option[Int]]

User notes count of the merge request.

User notes count of the merge request.

def userPermissions[A](innerSelection: SelectionBuilder[MergeRequestPermissions, A]): SelectionBuilder[MergeRequest, A]

Permissions for the current user on the resource

Permissions for the current user on the resource

def webUrl: SelectionBuilder[MergeRequest, Option[String]]

Web URL of the merge request.

Web URL of the merge request.

Deprecated methods

@deprecated("Use `draft`. Deprecated in 13.12.", "")
def workInProgress: SelectionBuilder[MergeRequest, Boolean]

Indicates if the merge request is a draft. Deprecated in 13.12: Use draft.

Indicates if the merge request is a draft. Deprecated in 13.12: Use draft.

Deprecated