IssueMrView
A merge request a work item is linked to, as a reader wants it.
Shape
- closingbooleanWhether the merge request says it finishes the work item (
Closes #412) rather than merely mentioning it. Merging a closing merge request closes the item. merge_requestMergeRequest
- The MergeRequest schema
- created_atstring
- created_byPrincipalId (string · uuid)The person or agent who opened it.
- is_draftboolean
- merge_request_idMergeRequestId (integer · int64)
- repository_idRepositoryId (string · uuid)
- source_branchBranchName (string)
- source_branch_deletedboolean
- source_branch_headCommitHash (string)
- statusMergeRequestStatusopenmergedclosed
- target_branchBranchName (string)
- target_branch_headCommitHash (string)
- titleMrTitle (string)
- updated_atstring
- author_can_pushboolean or nulloptionalWhether the author can push to the repository — false for a drive-by contributor's merge request. Absent where it was not computed.
- closed_atstring or nulloptional
- closed_byPrincipalId (string · uuid) or nulloptional
- descriptionMrDescription (string) or nulloptional
- merge_commit_shaCommitHash (string) or nulloptional
- merged_atstring or nulloptional
- merged_byPrincipalId (string · uuid) or nulloptional
- restack_requiredbooleanoptionalPrecise restack signal — set when this MR's downstack was squash-merged (a rebase is genuinely required to drop the duplicated diff). Distinct from the advisory
commits_behind. Reset on the MR's next source-advancing write. stack_summaryStackSummary or nulloptionalThe neighbouring merge requests in this stack. Returned when fetching a single merge request, not in listings.
- The StackSummary schema
- has_downstackboolean
- has_upstackboolean
- downstack_mr_idMergeRequestId (integer · int64) or nulloptional
- upstack_mr_idsarray of MergeRequestId (integer · int64)optional
- versioninteger · int64optional0–∞Optimistic-concurrency counter. Bumped on every write; writes condition on the read value.
- repository_idRepositoryId (string · uuid)The repository the merge request is in.
Example
Synthesized example{
"closing": false,
"merge_request": {
"created_at": "2026-10-17T02:19:09Z",
"created_by": "c9d8e7f6-a5b4-4c3d-9e2f-1a0b9c8d7e6f",
"is_draft": false,
"merge_request_id": 42,
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"source_branch": "refactor/brand-inline",
"source_branch_deleted": false,
"source_branch_head": "1ca9451df013dd996fcdc1b49680eb9e95ab5f83",
"status": "open",
"target_branch": "main",
"target_branch_head": "77588fc816d94b6af8d0ccbeec47200b418c3d17",
"title": "Label every synthesized example",
"updated_at": "2026-10-13T12:36:19Z",
"author_can_push": false,
"closed_at": "2026-10-09T23:04:53Z",
"closed_by": "a3f1c2d4-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
"description": "Renders each region as density contours of its operations.",
"merge_commit_sha": "e7418d1c1a51a669eb26d49161236f20cfdaaff6",
"merged_at": "2026-10-10T21:47:58Z",
"merged_by": "c9d8e7f6-a5b4-4c3d-9e2f-1a0b9c8d7e6f",
"restack_required": false,
"stack_summary": {
"has_downstack": false,
"has_upstack": false,
"downstack_mr_id": 42,
"upstack_mr_ids": [
42,
42
]
},
"version": 58
},
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70"
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 0 operations
No operation returns it directly.