You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- DMD-1081
- Expose the MergeRequest::$autoMergeStrategy and autoMergeAt through
the create and update merge request endpoints.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
+ autoMergeAt (optional, string) - ISO 8601 datetime for scheduled auto-merge, required when autoMergeStrategy is "scheduled" (e.g. "2026-04-01T12:00:00+00:00")
9905
9910
9906
9911
+ Request (application/json)
9907
9912
@@ -9916,7 +9921,9 @@ other buckets (production buckets or buckets belongs the other development branc
9916
9921
"branchIntoId": 123,
9917
9922
"title": "Refactor DB extractors",
9918
9923
"description": "DB exctractor have new columns now",
9919
-
"externalId": "ticket-123"
9924
+
"externalId": "ticket-123",
9925
+
"autoMergeStrategy": "scheduled",
9926
+
"autoMergeAt": "2026-04-01T12:00:00+00:00"
9920
9927
}
9921
9928
9922
9929
+ Response 201 (application/json)
@@ -9942,6 +9949,8 @@ other buckets (production buckets or buckets belongs the other development branc
9942
9949
"mergerName": ""
9943
9950
},
9944
9951
"externalId": "ticket-123",
9952
+
"autoMergeStrategy": "scheduled",
9953
+
"autoMergeAt": "2026-04-01T12:00:00+00:00",
9945
9954
"approvals": [
9946
9955
{
9947
9956
"approverId": 123,
@@ -9959,6 +9968,11 @@ other buckets (production buckets or buckets belongs the other development branc
9959
9968
+ title (required, string) - title of the merge request
9960
9969
+ description (optional, string) - description of the merge request
9961
9970
+ externalId (optional, string) - identifier of the merge request in an external system
+ autoMergeAt (optional, string) - ISO 8601 datetime for scheduled auto-merge, required when autoMergeStrategy is "scheduled" (e.g. "2026-04-01T12:00:00+00:00")
9962
9976
9963
9977
+ Request (application/json)
9964
9978
@@ -9971,7 +9985,8 @@ other buckets (production buckets or buckets belongs the other development branc
9971
9985
{
9972
9986
"title": "New title",
9973
9987
"description": "New desc",
9974
-
"externalId": "ticket-123"
9988
+
"externalId": "ticket-123",
9989
+
"autoMergeStrategy": "immediately"
9975
9990
}
9976
9991
9977
9992
+ Response 200 (application/json)
@@ -9997,6 +10012,8 @@ other buckets (production buckets or buckets belongs the other development branc
9997
10012
"mergerName": ""
9998
10013
},
9999
10014
"externalId": "ticket-123",
10015
+
"autoMergeStrategy": "immediately",
10016
+
"autoMergeAt": null,
10000
10017
"approvals": [
10001
10018
{
10002
10019
"approverId": 123,
@@ -10041,6 +10058,8 @@ List all merge requests available in the project defined by token.
10041
10058
"mergerName": ""
10042
10059
},
10043
10060
"externalId": "ticket-123",
10061
+
"autoMergeStrategy": "scheduled",
10062
+
"autoMergeAt": "2026-04-01T12:00:00+00:00",
10044
10063
"approvals": [
10045
10064
{
10046
10065
"approverId": 123,
@@ -10105,6 +10124,8 @@ Detail of Merge request also contains `content` of changed objects.
10105
10124
"mergerName": ""
10106
10125
},
10107
10126
"externalId": "ticket-123",
10127
+
"autoMergeStrategy": "scheduled",
10128
+
"autoMergeAt": "2026-04-01T12:00:00+00:00",
10108
10129
"approvals": [
10109
10130
{
10110
10131
"approverId": 123,
@@ -10166,6 +10187,8 @@ Will move Merge request state `development` -> `in_review`. If branch has an ope
10166
10187
"mergerName": ""
10167
10188
},
10168
10189
"externalId": "ticket-123",
10190
+
"autoMergeStrategy": "scheduled",
10191
+
"autoMergeAt": "2026-04-01T12:00:00+00:00",
10169
10192
"approvals": [
10170
10193
{
10171
10194
"approverId": 123,
@@ -10228,6 +10251,8 @@ Each project has defined required number of approvals. If the last approval arri
10228
10251
"mergerName": ""
10229
10252
},
10230
10253
"externalId": "ticket-123",
10254
+
"autoMergeStrategy": "scheduled",
10255
+
"autoMergeAt": "2026-04-01T12:00:00+00:00",
10231
10256
"approvals": [
10232
10257
{
10233
10258
"approverId": 123,
@@ -10320,6 +10345,8 @@ Requesting changes will remove all approvals and move the Merge request to `deve
0 commit comments