produce_random_id | string | Randomly generated event ID |
event_type | string | Event type, here is "merge_request" |
object_kind | string | Object type, here is "merge_request" |
git_branch | string | Git branch name |
git_commit_no | string | Current commit SHA |
git_target_branch_commit_no | string | Target branch commit SHA |
manual_build | boolean | |
virtual_merge_build | boolean | |
uuid | string | Unique identifier for the event |
labels | array | List of labels |
issues | array | List of associated issues |
object_attributes.id | integer | Merge request ID |
object_attributes.iid | integer | Merge request ID in the project |
object_attributes.title | string | Merge request title |
object_attributes.description | string | Merge request description |
object_attributes.state | string | Merge request state (opened: open, merged: merged, closed: closed) |
object_attributes.created_at | string | Creation time |
object_attributes.updated_at | string | Update time |
object_attributes.action | string | Action type (open: opened, update: updated, merge: merged, close: closed) |
object_attributes.work_in_progress | boolean | Whether it's an ongoing work |
object_attributes.merge_status | string | Merge status (unchecked: unchecked) |
object_attributes.merge_when_pipeline_succeeds | boolean | Whether to automatically merge after pipeline succeeds |
object_attributes.source_branch | string | Source branch name |
object_attributes.target_branch | string | Target branch name |
object_attributes.source_project_id | integer | Source project ID |
object_attributes.target_project_id | integer | Target project ID |
object_attributes.author_id | integer | Author ID |
object_attributes.url | string | Web access URL for the merge request |
object_attributes.need_review | boolean | Whether review is needed |
object_attributes.need_test | boolean | Whether testing is needed |
object_attributes.conflict | boolean | Whether there are conflicts |
object_attributes.total_time_spent | integer | |
object_attributes.oldrev | string | Old version commit number |
object_attributes.update_reason | string | Reason for update |
object_attributes.reviewer_list | array | Reviewer list |
object_attributes.assignee_list | array | Assignee list |
object_attributes.last_commit.id | string | Last commit SHA value |
object_attributes.last_commit.message | string | Last commit message |
object_attributes.last_commit.timestamp | string | Last commit timestamp |
object_attributes.last_commit.url | string | Last commit details page URL |
object_attributes.last_commit.author.name | string | Last commit author name |
object_attributes.last_commit.author.email | string | Last commit author email |
object_attributes.target_branch_commit.id | string | Target branch commit SHA value |
object_attributes.target_branch_commit.message | string | Target branch commit message |
object_attributes.target_branch_commit.timestamp | string | Target branch commit timestamp |
object_attributes.target_branch_commit.url | string | Target branch commit details page URL |
object_attributes.target_branch_commit.author.name | string | Target branch commit author name |
object_attributes.target_branch_commit.author.email | string | Target branch commit author email |
object_attributes.merge_params.force_remove_source_branch | boolean | Whether to force delete the source branch |
object_attributes.source.id | integer | Source project ID |
object_attributes.source.name | string | Source project name |
object_attributes.source.path_with_namespace | string | Source project path with namespace |
object_attributes.source.namespace | string | Source project namespace |
object_attributes.source.visibility_level | integer | Source project visibility level (0: private, 1: public) |
object_attributes.source.web_url | string | Source project web access URL |
object_attributes.source.url | string | Source project Git repository URL |
object_attributes.source.http_url | string | Source project HTTP clone address |
object_attributes.source.ssh_url | string | Source project SSH clone address |
object_attributes.source.git_http_url | string | Source project Git HTTP clone address |
object_attributes.source.git_ssh_url | string | Source project Git SSH clone address |
object_attributes.source.homepage | string | Source project homepage |
object_attributes.source.avatar_url | string | Source project avatar URL |
object_attributes.source.default_branch | string | Source project default branch |
object_attributes.target | object | Target project information (fields same as source) |
object_attributes.author.id | integer | Author ID |
object_attributes.author.name | string | Author name |
object_attributes.author.username | string | Author login name |
object_attributes.author.email | string | Author email |
object_attributes.author.avatar_url | string | Author avatar URL |
changes.merge_params.current | string | Current merge parameter settings |
changes.patchset_locked.current | boolean | |
changes.merge_when_pipeline_succeeds.current | boolean | Current setting for automatic merging after pipeline succeeds |
changes.iid.current | integer | Current merge request IID |
changes.target_branch.current | string | Current target branch |
changes.created_at.current | string | Current creation time |
changes.description.current | string | Current description |
changes.close_issue_when_merge.current | boolean | Whether to automatically close associated issues when merged |
changes.moderation_result.current | boolean | |
changes.source_project_id.current | integer | Current source project ID |
changes.title.current | string | Current title |
changes.current_patchset_id.current | integer | |
changes.source_branch.current | string | Current source branch |
changes.squash.current | boolean | Whether to squash commits currently |
changes.updated_at.current | string | Current update time |
changes.merge_status.current | string | Current merge status |
changes.moderation_time.current | integer | Current moderation time |
changes.latest_merge_request_diff_id.current | integer | Current latest merge request diff ID |
changes.id.current | integer | Current merge request ID |
changes.state.current | string | Current state |
changes.author_id.current | integer | Current author ID |
changes.target_project_id.current | integer | Current target project ID |
project | object | Project information (fields same as object_attributes.source) |
repository | object | Repository information (fields same as object_attributes.source) |
user | object | User information triggering the event (fields same as object_attributes.author) |