@@ -1213,83 +1213,7 @@ public Optional<Board> getOptionalGroupEpicBoard(Object groupIdOrPath, Long boar
1213
1213
}
1214
1214
1215
1215
/**
1216
- * Creates a new epic board.
1217
- *
1218
- * <pre><code>GitLab Endpoint: POST /groups/:id/epic_boards</code></pre>
1219
- *
1220
- * @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance
1221
- * @param name the name for the new board
1222
- * @return the created Board instance
1223
- * @throws GitLabApiException if any exception occurs
1224
- */
1225
- public Board createGroupEpicBoard (Object groupIdOrPath , String name ) throws GitLabApiException {
1226
- GitLabApiForm formData = new GitLabApiForm ().withParam ("name" , name , true );
1227
- Response response = post (
1228
- Response .Status .CREATED , formData .asMap (), "groups" , getGroupIdOrPath (groupIdOrPath ), "epic_boards" );
1229
- return (response .readEntity (Board .class ));
1230
- }
1231
-
1232
- /**
1233
- * Updates an existing epic board.
1234
- *
1235
- * <pre><code>GitLab Endpoint: PUT /groups/:id/epic_boards/:board_id</code></pre>
1236
- *
1237
- * @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance, required
1238
- * @param boardId the ID of the board, required
1239
- * @param name the new name of the board, optional (can be null)
1240
- * @param hideBacklogList hide the Open list, optional (can be null)
1241
- * @param hideClosedList hide the Closed list, optional (can be null)
1242
- * @param assigneeId the assignee the board should be scoped to, optional (can be null)
1243
- * @param milestoneId the milestone the board should be scoped to, optional (can be null)
1244
- * @param labels a comma-separated list of label names which the board should be scoped to, optional (can be null)
1245
- * @param weight the weight range from 0 to 9, to which the board should be scoped to, optional (can be null)
1246
- * @return the updated Board instance
1247
- * @throws GitLabApiException if any exception occurs
1248
- */
1249
- public Board updateGroupEpicBoard (
1250
- Object groupIdOrPath ,
1251
- Long boardId ,
1252
- String name ,
1253
- Boolean hideBacklogList ,
1254
- Boolean hideClosedList ,
1255
- Long assigneeId ,
1256
- Long milestoneId ,
1257
- String labels ,
1258
- Integer weight )
1259
- throws GitLabApiException {
1260
- GitLabApiForm formData = new GitLabApiForm ()
1261
- .withParam ("name" , name )
1262
- .withParam ("hide_backlog_list" , hideBacklogList )
1263
- .withParam ("hide_closed_list" , hideClosedList )
1264
- .withParam ("assignee_id" , assigneeId )
1265
- .withParam ("milestone_id" , milestoneId )
1266
- .withParam ("labels" , labels )
1267
- .withParam ("weight" , weight );
1268
- Response response = put (
1269
- Response .Status .OK ,
1270
- formData .asMap (),
1271
- "groups" ,
1272
- getGroupIdOrPath (groupIdOrPath ),
1273
- "epic_boards" ,
1274
- boardId );
1275
- return (response .readEntity (Board .class ));
1276
- }
1277
-
1278
- /**
1279
- * Soft deletes an existing epic board.
1280
- *
1281
- * <pre><code>GitLab Endpoint: DELETE /groups/:id/epic_boards/:board_id</code></pre>
1282
- *
1283
- * @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance
1284
- * @param boardId the ID of the board
1285
- * @throws GitLabApiException if any exception occurs
1286
- */
1287
- public void deleteGroupEpicBoard (Object groupIdOrPath , Long boardId ) throws GitLabApiException {
1288
- delete (Response .Status .NO_CONTENT , null , "groups" , getGroupIdOrPath (groupIdOrPath ), "epic_boards" , boardId );
1289
- }
1290
-
1291
- /**
1292
- * Get a list of the board’s lists. Does not include open and closed lists.
1216
+ * Get a list of the board’s lists.
1293
1217
*
1294
1218
* <pre><code>GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists</code></pre>
1295
1219
*
@@ -1305,7 +1229,6 @@ public List<BoardList> getGroupEpicBoardLists(Object groupIdOrPath, Long boardId
1305
1229
1306
1230
/**
1307
1231
* Get a list of the board’s lists for the specified group to using the specified page and per page setting.
1308
- * Does not include open and closed lists.
1309
1232
*
1310
1233
* <pre><code>GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists</code></pre>
1311
1234
*
@@ -1330,7 +1253,7 @@ public List<BoardList> getGroupEpicBoardLists(Object groupIdOrPath, Long boardId
1330
1253
}
1331
1254
1332
1255
/**
1333
- * Get a Pager of the board’s lists. Does not include open and closed lists.
1256
+ * Get a Pager of the board’s lists.
1334
1257
*
1335
1258
* <pre><code>GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists</code></pre>
1336
1259
*
@@ -1355,7 +1278,7 @@ public Pager<BoardList> getGroupEpicBoardLists(Object groupIdOrPath, Long boardI
1355
1278
}
1356
1279
1357
1280
/**
1358
- * Get a Stream of the board’s lists. Does not include open and closed lists.
1281
+ * Get a Stream of the board’s lists.
1359
1282
*
1360
1283
* <pre><code>GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists</code></pre>
1361
1284
*
@@ -1411,85 +1334,4 @@ public Optional<BoardList> getOptionalGroupEpicBoardList(Object groupIdOrPath, L
1411
1334
}
1412
1335
}
1413
1336
1414
- /**
1415
- * Creates a new epic board list.
1416
- *
1417
- * <pre><code>GitLab Endpoint: POST /groups/:id/epic_boards/:board_id/lists</code></pre>
1418
- *
1419
- * @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance
1420
- * @param boardId the ID of the board
1421
- * @param labelId the ID of the label
1422
- * @param assigneeId The ID of a user. Premium and Ultimate only, optional (can be null)
1423
- * @param milestoneId The ID of a milestone. Premium and Ultimate only, optional (can be null)
1424
- * @param iterationId The ID of a milestone. Premium and Ultimate only, optional (can be null)
1425
- * @return the created BoardList instance
1426
- * @throws GitLabApiException if any exception occurs
1427
- */
1428
- public BoardList createGroupEpicBoardList (
1429
- Object groupIdOrPath , Long boardId , Long labelId , Long assigneeId , Long milestoneId , Long iterationId )
1430
- throws GitLabApiException {
1431
- GitLabApiForm formData = new GitLabApiForm ()
1432
- .withParam ("label_id" , labelId )
1433
- .withParam ("assignee_id" , assigneeId )
1434
- .withParam ("milestone_id" , milestoneId )
1435
- .withParam ("iteration_id" , iterationId );
1436
- Response response = post (
1437
- Response .Status .CREATED ,
1438
- formData ,
1439
- "groups" ,
1440
- getGroupIdOrPath (groupIdOrPath ),
1441
- "epic_boards" ,
1442
- boardId ,
1443
- "lists" );
1444
- return (response .readEntity (BoardList .class ));
1445
- }
1446
-
1447
- /**
1448
- * Updates an existing epic board list. This call is used to change list position.
1449
- *
1450
- * <pre><code>GitLab Endpoint: PUT /groups/:id/epic_boards/:board_id/lists/:list_id</code></pre>
1451
- *
1452
- * @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance
1453
- * @param boardId the ID of the board
1454
- * @param listId the ID of the list
1455
- * @param position the new position for the list
1456
- * @return the updated BoardList instance
1457
- * @throws GitLabApiException if any exception occurs
1458
- */
1459
- public BoardList updateGroupEpicBoardList (Object groupIdOrPath , Long boardId , Long listId , Integer position )
1460
- throws GitLabApiException {
1461
- GitLabApiForm formData = new GitLabApiForm ().withParam ("position" , position , true );
1462
- Response response = putWithFormData (
1463
- Response .Status .OK ,
1464
- formData ,
1465
- "groups" ,
1466
- getGroupIdOrPath (groupIdOrPath ),
1467
- "epic_boards" ,
1468
- boardId ,
1469
- "lists" ,
1470
- listId );
1471
- return (response .readEntity (BoardList .class ));
1472
- }
1473
-
1474
- /**
1475
- * Soft deletes an existing epic board list. Only for admins and group owners.
1476
- *
1477
- * <pre><code>GitLab Endpoint: DELETE /groups/:id/epic_boards/:board_id/lists/:list_id</code></pre>
1478
- *
1479
- * @param groupIdOrPath the group in the form of an Long(ID), String(path), or Group instance
1480
- * @param boardId the ID of the board
1481
- * @param listId the ID of the list
1482
- * @throws GitLabApiException if any exception occurs
1483
- */
1484
- public void deleteGroupEpicBoardList (Object groupIdOrPath , Long boardId , Long listId ) throws GitLabApiException {
1485
- delete (
1486
- Response .Status .NO_CONTENT ,
1487
- null ,
1488
- "groups" ,
1489
- getGroupIdOrPath (groupIdOrPath ),
1490
- "epic_boards" ,
1491
- boardId ,
1492
- "lists" ,
1493
- listId );
1494
- }
1495
1337
}
0 commit comments