Package org.gitlab4j.api
Class BoardsApi
- java.lang.Object
-
- org.gitlab4j.api.AbstractApi
-
- org.gitlab4j.api.BoardsApi
-
- All Implemented Interfaces:
org.gitlab4j.models.Constants
public class BoardsApi extends AbstractApi
This class implements the client side API for the GitLab Issue Boards API calls. NOTE: If a user is not a member of a group and the group is private, a GET request on that group will result to a 404 status code.- See Also:
- GitLab Issue Boards API Documentaion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gitlab4j.models.Constants
org.gitlab4j.models.Constants.ActionType, org.gitlab4j.models.Constants.ApplicationScope, org.gitlab4j.models.Constants.ArchiveFormat, org.gitlab4j.models.Constants.AutoDevopsDeployStrategy, org.gitlab4j.models.Constants.BuildGitStrategy, org.gitlab4j.models.Constants.CommitBuildState, org.gitlab4j.models.Constants.ContributorOrderBy, org.gitlab4j.models.Constants.DefaultBranchProtectionLevel, org.gitlab4j.models.Constants.DeploymentOrderBy, org.gitlab4j.models.Constants.DeploymentStatus, org.gitlab4j.models.Constants.DeployTokenScope, org.gitlab4j.models.Constants.Encoding, org.gitlab4j.models.Constants.EpicOrderBy, org.gitlab4j.models.Constants.EventScope, org.gitlab4j.models.Constants.GroupOrderBy, org.gitlab4j.models.Constants.GroupSearchScope<T extends java.lang.Object>, org.gitlab4j.models.Constants.ImpersonationState, org.gitlab4j.models.Constants.IssueOrderBy, org.gitlab4j.models.Constants.IssueScope, org.gitlab4j.models.Constants.IssueState, org.gitlab4j.models.Constants.JobScope, org.gitlab4j.models.Constants.LineType, org.gitlab4j.models.Constants.MergeRequestOrderBy, org.gitlab4j.models.Constants.MergeRequestScope, org.gitlab4j.models.Constants.MergeRequestSearchIn, org.gitlab4j.models.Constants.MergeRequestState, org.gitlab4j.models.Constants.MilestoneState, org.gitlab4j.models.Constants.PackageOrderBy, org.gitlab4j.models.Constants.PackageStatus, org.gitlab4j.models.Constants.PipelineOrderBy, org.gitlab4j.models.Constants.PipelineScope, org.gitlab4j.models.Constants.PipelineSource, org.gitlab4j.models.Constants.ProjectAccessTokenScope, org.gitlab4j.models.Constants.ProjectCreationLevel, org.gitlab4j.models.Constants.ProjectOrderBy, org.gitlab4j.models.Constants.ProjectSearchScope<T extends java.lang.Object>, org.gitlab4j.models.Constants.SearchScope<T extends java.lang.Object>, org.gitlab4j.models.Constants.SortOrder, org.gitlab4j.models.Constants.SquashOption, org.gitlab4j.models.Constants.StateEvent, org.gitlab4j.models.Constants.SubgroupCreationLevel, org.gitlab4j.models.Constants.TagOrderBy, org.gitlab4j.models.Constants.TargetType, org.gitlab4j.models.Constants.TodoAction, org.gitlab4j.models.Constants.TodoState, org.gitlab4j.models.Constants.TodoType, org.gitlab4j.models.Constants.TokenType
-
-
Field Summary
-
Fields inherited from class org.gitlab4j.api.AbstractApi
gitLabApi
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.gitlab4j.api.models.Board
createBoard(java.lang.Object projectIdOrPath, java.lang.String name)
Deprecated.usecreateProjectIssueBoard(Object, String)
insteadorg.gitlab4j.api.models.BoardList
createBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long labelId)
Deprecated.org.gitlab4j.api.models.BoardList
createBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long labelId, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.Long iterationId)
Deprecated.org.gitlab4j.api.models.Board
createGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.String name)
Creates a new Issue Board.org.gitlab4j.api.models.BoardList
createGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long labelId, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.Long iterationId)
Creates a new Issue Board list.org.gitlab4j.api.models.Board
createProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.String name)
Creates a new Issue Board.org.gitlab4j.api.models.BoardList
createProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long labelId, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.Long iterationId)
Creates a new Issue Board list.void
deleteBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Deprecated.usedeleteBoard(Object, Long)
insteadvoid
deleteBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Deprecated.usedeleteProjectIssueBoardList(Object, Long, Long)
insteadvoid
deleteGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Soft deletes an existing Issue Board.void
deleteGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Soft deletes an existing Issue Board list.void
deleteProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Soft deletes an existing Issue Board.void
deleteProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Soft deletes an existing Issue Board list.org.gitlab4j.api.models.Board
getBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Deprecated.usegetProjectIssueBoard(Object, Long)
insteadorg.gitlab4j.api.models.BoardList
getBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Deprecated.usegetProjectIssueBoardList(Object, Long, Long)
insteadjava.util.List<org.gitlab4j.api.models.BoardList>
getBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Deprecated.usegetProjectIssueBoardLists(Object, Long)
insteadPager<org.gitlab4j.api.models.BoardList>
getBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId, int itemsPerPage)
Deprecated.usegetProjectIssueBoardLists(Object, Long, int)
insteadjava.util.List<org.gitlab4j.api.models.BoardList>
getBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId, int page, int perPage)
Deprecated.java.util.List<org.gitlab4j.api.models.Board>
getBoards(java.lang.Object projectIdOrPath)
Deprecated.usegetProjectIssueBoards(Object)
insteadPager<org.gitlab4j.api.models.Board>
getBoards(java.lang.Object projectIdOrPath, int itemsPerPage)
Deprecated.usegetProjectIssueBoards(Object, int)
insteadjava.util.List<org.gitlab4j.api.models.Board>
getBoards(java.lang.Object projectIdOrPath, int page, int perPage)
Deprecated.usegetProjectIssueBoards(Object, int, int)
insteadjava.util.stream.Stream<org.gitlab4j.api.models.BoardList>
getBoardsListsStream(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Deprecated.usegetProjectIssueBoardsListsStream(Object, Long)
insteadjava.util.stream.Stream<org.gitlab4j.api.models.Board>
getBoardsStream(java.lang.Object projectIdOrPath)
Deprecated.usegetProjectIssueBoardsStream(Object)
insteadorg.gitlab4j.api.models.Board
getGroupEpicBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get a single epic board.org.gitlab4j.api.models.BoardList
getGroupEpicBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single epic board list.java.util.List<org.gitlab4j.api.models.BoardList>
getGroupEpicBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get a list of the board’s lists.Pager<org.gitlab4j.api.models.BoardList>
getGroupEpicBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId, int itemsPerPage)
Get a Pager of the board’s lists.java.util.List<org.gitlab4j.api.models.BoardList>
getGroupEpicBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId, int page, int perPage)
Get a list of the board’s lists for the specified group to using the specified page and per page setting.java.util.List<org.gitlab4j.api.models.Board>
getGroupEpicBoards(java.lang.Object groupIdOrPath)
Lists epic boards in the given group.Pager<org.gitlab4j.api.models.Board>
getGroupEpicBoards(java.lang.Object groupIdOrPath, int itemsPerPage)
Get a Pager of all epic boards for the specified group.java.util.List<org.gitlab4j.api.models.Board>
getGroupEpicBoards(java.lang.Object groupIdOrPath, int page, int perPage)
Get all epic boards for the specified group using the specified page and per page settingjava.util.stream.Stream<org.gitlab4j.api.models.BoardList>
getGroupEpicBoardsListsStream(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get a Stream of the board’s lists.java.util.stream.Stream<org.gitlab4j.api.models.Board>
getGroupEpicBoardsStream(java.lang.Object groupIdOrPath)
Get a Stream of all epic boards for the specified group.org.gitlab4j.api.models.Board
getGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get a single issue board.org.gitlab4j.api.models.BoardList
getGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single issue board list.java.util.List<org.gitlab4j.api.models.BoardList>
getGroupIssueBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get a list of the board’s lists.Pager<org.gitlab4j.api.models.BoardList>
getGroupIssueBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId, int itemsPerPage)
Get a Pager of the board’s lists.java.util.List<org.gitlab4j.api.models.BoardList>
getGroupIssueBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId, int page, int perPage)
Get a list of the board’s lists for the specified group to using the specified page and per page setting.java.util.List<org.gitlab4j.api.models.Board>
getGroupIssueBoards(java.lang.Object groupIdOrPath)
Lists Issue Boards in the given group.Pager<org.gitlab4j.api.models.Board>
getGroupIssueBoards(java.lang.Object groupIdOrPath, int itemsPerPage)
Get a Pager of all issue boards for the specified group.java.util.List<org.gitlab4j.api.models.Board>
getGroupIssueBoards(java.lang.Object groupIdOrPath, int page, int perPage)
Get all issue boards for the specified group using the specified page and per page settingjava.util.stream.Stream<org.gitlab4j.api.models.BoardList>
getGroupIssueBoardsListsStream(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get a Stream of the board’s lists.java.util.stream.Stream<org.gitlab4j.api.models.Board>
getGroupIssueBoardsStream(java.lang.Object groupIdOrPath)
Get a Stream of all issue boards for the specified group.java.util.Optional<org.gitlab4j.api.models.Board>
getOptionalBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Deprecated.usegetOptionalProjectIssueBoard(Object, Long)
insteadjava.util.Optional<org.gitlab4j.api.models.BoardList>
getOptionalBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Deprecated.java.util.Optional<org.gitlab4j.api.models.Board>
getOptionalGroupEpicBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get an epic board as an Optional instance.java.util.Optional<org.gitlab4j.api.models.BoardList>
getOptionalGroupEpicBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single epic board list as an Optional instance.java.util.Optional<org.gitlab4j.api.models.Board>
getOptionalGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get an issue board as an Optional instance.java.util.Optional<org.gitlab4j.api.models.BoardList>
getOptionalGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single issue board list as an Optional instance.java.util.Optional<org.gitlab4j.api.models.Board>
getOptionalProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Get an issue board as an Optional instance.java.util.Optional<org.gitlab4j.api.models.BoardList>
getOptionalProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single issue board list as an Optional instance.org.gitlab4j.api.models.Board
getProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Get a single issue board.org.gitlab4j.api.models.BoardList
getProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single issue board list.java.util.List<org.gitlab4j.api.models.BoardList>
getProjectIssueBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Get a list of the board’s lists.Pager<org.gitlab4j.api.models.BoardList>
getProjectIssueBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId, int itemsPerPage)
Get a Pager of the board’s lists.java.util.List<org.gitlab4j.api.models.BoardList>
getProjectIssueBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId, int page, int perPage)
Get a list of the board’s lists for the specified project to using the specified page and per page setting.java.util.List<org.gitlab4j.api.models.Board>
getProjectIssueBoards(java.lang.Object projectIdOrPath)
Lists Issue Boards in the given project.Pager<org.gitlab4j.api.models.Board>
getProjectIssueBoards(java.lang.Object projectIdOrPath, int itemsPerPage)
Get a Pager of all issue boards for the specified project.java.util.List<org.gitlab4j.api.models.Board>
getProjectIssueBoards(java.lang.Object projectIdOrPath, int page, int perPage)
Get all issue boards for the specified project using the specified page and per page settingjava.util.stream.Stream<org.gitlab4j.api.models.BoardList>
getProjectIssueBoardsListsStream(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Get a Stream of the board’s lists.java.util.stream.Stream<org.gitlab4j.api.models.Board>
getProjectIssueBoardsStream(java.lang.Object projectIdOrPath)
Get a Stream of all issue boards for the specified project.org.gitlab4j.api.models.Board
updateBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.String name, java.lang.Boolean hideBacklogList, java.lang.Boolean hideClosedList, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.String labels, java.lang.Integer weight)
Deprecated.org.gitlab4j.api.models.BoardList
updateBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId, java.lang.Integer position)
Deprecated.org.gitlab4j.api.models.Board
updateGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.String name, java.lang.Boolean hideBacklogList, java.lang.Boolean hideClosedList, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.String labels, java.lang.Integer weight)
Updates an existing Issue Board.org.gitlab4j.api.models.BoardList
updateGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId, java.lang.Integer position)
Updates an existing Issue Board list.org.gitlab4j.api.models.Board
updateProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.String name, java.lang.Boolean hideBacklogList, java.lang.Boolean hideClosedList, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.String labels, java.lang.Integer weight)
Updates an existing Issue Board.org.gitlab4j.api.models.BoardList
updateProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId, java.lang.Integer position)
Updates an existing Issue Board list.-
Methods inherited from class org.gitlab4j.api.AbstractApi
addFormParam, addFormParam, delete, delete, get, get, getApiClient, getApiVersion, getDefaultPerPage, getDefaultPerPageParam, getDefaultPerPageParam, getGroupIdOrPath, getLabelIdOrName, getNamespaceIdOrPath, getPageQueryParams, getPageQueryParams, getPerPageQueryParam, getProjectIdOrPath, getUserIdOrUsername, getWithAccepts, handle, head, isApiVersion, patch, patch, post, post, post, post, post, put, put, put, putUpload, putUpload, putWithFormData, putWithFormData, upload, upload, upload, upload, urlEncode, validate
-
-
-
-
Constructor Detail
-
BoardsApi
public BoardsApi(GitLabApi gitLabApi)
-
-
Method Detail
-
getBoards
@Deprecated public java.util.List<org.gitlab4j.api.models.Board> getBoards(java.lang.Object projectIdOrPath) throws GitLabApiException
Deprecated.usegetProjectIssueBoards(Object)
insteadLists Issue Boards in the given project.GitLab Endpoint: GET /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instance- Returns:
- a list of project's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getBoards
@Deprecated public java.util.List<org.gitlab4j.api.models.Board> getBoards(java.lang.Object projectIdOrPath, int page, int perPage) throws GitLabApiException
Deprecated.usegetProjectIssueBoards(Object, int, int)
insteadGet all issue boards for the specified project using the specified page and per page settingGitLab Endpoint: GET /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instancepage
- the page to getperPage
- the number of items per page- Returns:
- a list of project's Boards in the specified range
- Throws:
GitLabApiException
- if any exception occurs
-
getBoards
@Deprecated public Pager<org.gitlab4j.api.models.Board> getBoards(java.lang.Object projectIdOrPath, int itemsPerPage) throws GitLabApiException
Deprecated.usegetProjectIssueBoards(Object, int)
insteadGet a Pager of all issue boards for the specified project.GitLab Endpoint: GET /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceitemsPerPage
- the number of items per page- Returns:
- a Pager of project's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getBoardsStream
@Deprecated public java.util.stream.Stream<org.gitlab4j.api.models.Board> getBoardsStream(java.lang.Object projectIdOrPath) throws GitLabApiException
Deprecated.usegetProjectIssueBoardsStream(Object)
insteadGet a Stream of all issue boards for the specified project.GitLab Endpoint: GET /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instance- Returns:
- a Stream of project's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getBoard
@Deprecated public org.gitlab4j.api.models.Board getBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId) throws GitLabApiException
Deprecated.usegetProjectIssueBoard(Object, Long)
insteadGet a single issue board.GitLab Endpoint: GET /projects/:id/boards/:board_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Returns:
- a Board instance for the specified board ID
- Throws:
GitLabApiException
- if any exception occurs
-
getOptionalBoard
@Deprecated public java.util.Optional<org.gitlab4j.api.models.Board> getOptionalBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Deprecated.usegetOptionalProjectIssueBoard(Object, Long)
insteadGet an issue board as an Optional instance.GitLab Endpoint: GET /projects/:id/boards/:board_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Returns:
- the Board instance for the specified board ID as an Optional instance
-
createBoard
@Deprecated public org.gitlab4j.api.models.Board createBoard(java.lang.Object projectIdOrPath, java.lang.String name) throws GitLabApiException
Deprecated.usecreateProjectIssueBoard(Object, String)
insteadCreates a new Issue Board.GitLab Endpoint: POST /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instancename
- the name for the new board- Returns:
- the created Board instance
- Throws:
GitLabApiException
- if any exception occurs
-
updateBoard
@Deprecated public org.gitlab4j.api.models.Board updateBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.String name, java.lang.Boolean hideBacklogList, java.lang.Boolean hideClosedList, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.String labels, java.lang.Integer weight) throws GitLabApiException
Deprecated.Updates an existing Issue Board.GitLab Endpoint: PUT /projects/:id/boards/:board_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instance, requiredboardId
- the ID of the board, requiredname
- the new name of the board, optional (can be null)hideBacklogList
- hide the Open list, optional (can be null)hideClosedList
- hide the Closed list, optional (can be null)assigneeId
- the assignee the board should be scoped to, optional (can be null)milestoneId
- the milestone the board should be scoped to, optional (can be null)labels
- a comma-separated list of label names which the board should be scoped to, optional (can be null)weight
- the weight range from 0 to 9, to which the board should be scoped to, optional (can be null)- Returns:
- the updated Board instance
- Throws:
GitLabApiException
- if any exception occurs
-
deleteBoard
@Deprecated public void deleteBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId) throws GitLabApiException
Deprecated.usedeleteBoard(Object, Long)
insteadSoft deletes an existing Issue Board.GitLab Endpoint: DELETE /projects/:id/boards/:board_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Throws:
GitLabApiException
- if any exception occurs
-
getBoardLists
@Deprecated public java.util.List<org.gitlab4j.api.models.BoardList> getBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId) throws GitLabApiException
Deprecated.usegetProjectIssueBoardLists(Object, Long)
insteadGet a list of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Returns:
- a list of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getBoardLists
@Deprecated public java.util.List<org.gitlab4j.api.models.BoardList> getBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId, int page, int perPage) throws GitLabApiException
Deprecated.Get a list of the board’s lists for the specified project to using the specified page and per page setting. Does not include open and closed lists.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardpage
- the page to getperPage
- the number of Boards per page- Returns:
- a list of the issue board's lists in the specified range
- Throws:
GitLabApiException
- if any exception occurs
-
getBoardLists
@Deprecated public Pager<org.gitlab4j.api.models.BoardList> getBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId, int itemsPerPage) throws GitLabApiException
Deprecated.usegetProjectIssueBoardLists(Object, Long, int)
insteadGet a Pager of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boarditemsPerPage
- the number of Board instances that will be fetched per page- Returns:
- a Pager of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getBoardsListsStream
@Deprecated public java.util.stream.Stream<org.gitlab4j.api.models.BoardList> getBoardsListsStream(java.lang.Object projectIdOrPath, java.lang.Long boardId) throws GitLabApiException
Deprecated.usegetProjectIssueBoardsListsStream(Object, Long)
insteadGet a Stream of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Returns:
- a Stream of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getBoardList
@Deprecated public org.gitlab4j.api.models.BoardList getBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId) throws GitLabApiException
Deprecated.usegetProjectIssueBoardList(Object, Long, Long)
insteadGet a single issue board list.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists/:list_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlistId
- the ID of the board lists to get- Returns:
- a BoardList instance for the specified board ID and list ID
- Throws:
GitLabApiException
- if any exception occurs
-
getOptionalBoardList
@Deprecated public java.util.Optional<org.gitlab4j.api.models.BoardList> getOptionalBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Deprecated.Get a single issue board list as an Optional instance.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists/:list_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlistId
- the ID of the board lists to get- Returns:
- a BoardList instance for the specified board ID and list ID as an Optional instance
-
createBoardList
@Deprecated public org.gitlab4j.api.models.BoardList createBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long labelId, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.Long iterationId) throws GitLabApiException
Deprecated.Creates a new Issue Board list.GitLab Endpoint: POST /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlabelId
- the ID of the label, optional (can be null)assigneeId
- The ID of a user. Premium and Ultimate only, optional (can be null)milestoneId
- The ID of a milestone. Premium and Ultimate only, optional (can be null)iterationId
- The ID of a milestone. Premium and Ultimate only, optional (can be null)- Returns:
- the created BoardList instance
- Throws:
GitLabApiException
- if any exception occurs
-
createBoardList
@Deprecated public org.gitlab4j.api.models.BoardList createBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long labelId) throws GitLabApiException
Deprecated.Creates a new Issue Board list.GitLab Endpoint: POST /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlabelId
- the ID of the label- Returns:
- the created BoardList instance
- Throws:
GitLabApiException
- if any exception occurs
-
updateBoardList
@Deprecated public org.gitlab4j.api.models.BoardList updateBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId, java.lang.Integer position) throws GitLabApiException
Deprecated.Updates an existing Issue Board list. This call is used to change list position.GitLab Endpoint: PUT /projects/:id/boards/:board_id/lists/:list_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlistId
- the ID of the listposition
- the new position for the list- Returns:
- the updated BoardList instance
- Throws:
GitLabApiException
- if any exception occurs
-
deleteBoardList
@Deprecated public void deleteBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId) throws GitLabApiException
Deprecated.usedeleteProjectIssueBoardList(Object, Long, Long)
insteadSoft deletes an existing Issue Board list. Only for admins and project owners.GitLab Endpoint: DELETE /projects/:id/boards/:board_id/lists/:list_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlistId
- the ID of the list- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoards
public java.util.List<org.gitlab4j.api.models.Board> getProjectIssueBoards(java.lang.Object projectIdOrPath) throws GitLabApiException
Lists Issue Boards in the given project.GitLab Endpoint: GET /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instance- Returns:
- a list of project's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoards
public java.util.List<org.gitlab4j.api.models.Board> getProjectIssueBoards(java.lang.Object projectIdOrPath, int page, int perPage) throws GitLabApiException
Get all issue boards for the specified project using the specified page and per page settingGitLab Endpoint: GET /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instancepage
- the page to getperPage
- the number of items per page- Returns:
- a list of project's Boards in the specified range
- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoards
public Pager<org.gitlab4j.api.models.Board> getProjectIssueBoards(java.lang.Object projectIdOrPath, int itemsPerPage) throws GitLabApiException
Get a Pager of all issue boards for the specified project.GitLab Endpoint: GET /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceitemsPerPage
- the number of items per page- Returns:
- a Pager of project's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoardsStream
public java.util.stream.Stream<org.gitlab4j.api.models.Board> getProjectIssueBoardsStream(java.lang.Object projectIdOrPath) throws GitLabApiException
Get a Stream of all issue boards for the specified project.GitLab Endpoint: GET /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instance- Returns:
- a Stream of project's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoard
public org.gitlab4j.api.models.Board getProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a single issue board.GitLab Endpoint: GET /projects/:id/boards/:board_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Returns:
- a Board instance for the specified board ID
- Throws:
GitLabApiException
- if any exception occurs
-
getOptionalProjectIssueBoard
public java.util.Optional<org.gitlab4j.api.models.Board> getOptionalProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId)
Get an issue board as an Optional instance.GitLab Endpoint: GET /projects/:id/boards/:board_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Returns:
- the Board instance for the specified board ID as an Optional instance
-
createProjectIssueBoard
public org.gitlab4j.api.models.Board createProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.String name) throws GitLabApiException
Creates a new Issue Board.GitLab Endpoint: POST /projects/:id/boards
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instancename
- the name for the new board- Returns:
- the created Board instance
- Throws:
GitLabApiException
- if any exception occurs
-
updateProjectIssueBoard
public org.gitlab4j.api.models.Board updateProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.String name, java.lang.Boolean hideBacklogList, java.lang.Boolean hideClosedList, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.String labels, java.lang.Integer weight) throws GitLabApiException
Updates an existing Issue Board.GitLab Endpoint: PUT /projects/:id/boards/:board_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instance, requiredboardId
- the ID of the board, requiredname
- the new name of the board, optional (can be null)hideBacklogList
- hide the Open list, optional (can be null)hideClosedList
- hide the Closed list, optional (can be null)assigneeId
- the assignee the board should be scoped to, optional (can be null)milestoneId
- the milestone the board should be scoped to, optional (can be null)labels
- a comma-separated list of label names which the board should be scoped to, optional (can be null)weight
- the weight range from 0 to 9, to which the board should be scoped to, optional (can be null)- Returns:
- the updated Board instance
- Throws:
GitLabApiException
- if any exception occurs
-
deleteProjectIssueBoard
public void deleteProjectIssueBoard(java.lang.Object projectIdOrPath, java.lang.Long boardId) throws GitLabApiException
Soft deletes an existing Issue Board.GitLab Endpoint: DELETE /projects/:id/boards/:board_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoardLists
public java.util.List<org.gitlab4j.api.models.BoardList> getProjectIssueBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a list of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Returns:
- a list of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoardLists
public java.util.List<org.gitlab4j.api.models.BoardList> getProjectIssueBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId, int page, int perPage) throws GitLabApiException
Get a list of the board’s lists for the specified project to using the specified page and per page setting. Does not include open and closed lists.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardpage
- the page to getperPage
- the number of Boards per page- Returns:
- a list of the issue board's lists in the specified range
- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoardLists
public Pager<org.gitlab4j.api.models.BoardList> getProjectIssueBoardLists(java.lang.Object projectIdOrPath, java.lang.Long boardId, int itemsPerPage) throws GitLabApiException
Get a Pager of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boarditemsPerPage
- the number of Board instances that will be fetched per page- Returns:
- a Pager of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoardsListsStream
public java.util.stream.Stream<org.gitlab4j.api.models.BoardList> getProjectIssueBoardsListsStream(java.lang.Object projectIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a Stream of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the board- Returns:
- a Stream of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getProjectIssueBoardList
public org.gitlab4j.api.models.BoardList getProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId) throws GitLabApiException
Get a single issue board list.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists/:list_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlistId
- the ID of the board lists to get- Returns:
- a BoardList instance for the specified board ID and list ID
- Throws:
GitLabApiException
- if any exception occurs
-
getOptionalProjectIssueBoardList
public java.util.Optional<org.gitlab4j.api.models.BoardList> getOptionalProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single issue board list as an Optional instance.GitLab Endpoint: GET /projects/:id/boards/:board_id/lists/:list_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlistId
- the ID of the board lists to get- Returns:
- a BoardList instance for the specified board ID and list ID as an Optional instance
-
createProjectIssueBoardList
public org.gitlab4j.api.models.BoardList createProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long labelId, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.Long iterationId) throws GitLabApiException
Creates a new Issue Board list.GitLab Endpoint: POST /projects/:id/boards/:board_id/lists
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlabelId
- the ID of the label, optional (can be null)assigneeId
- The ID of a user. Premium and Ultimate only, optional (can be null)milestoneId
- The ID of a milestone. Premium and Ultimate only, optional (can be null)iterationId
- The ID of a milestone. Premium and Ultimate only, optional (can be null)- Returns:
- the created BoardList instance
- Throws:
GitLabApiException
- if any exception occurs
-
updateProjectIssueBoardList
public org.gitlab4j.api.models.BoardList updateProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId, java.lang.Integer position) throws GitLabApiException
Updates an existing Issue Board list. This call is used to change list position.GitLab Endpoint: PUT /projects/:id/boards/:board_id/lists/:list_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlistId
- the ID of the listposition
- the new position for the list- Returns:
- the updated BoardList instance
- Throws:
GitLabApiException
- if any exception occurs
-
deleteProjectIssueBoardList
public void deleteProjectIssueBoardList(java.lang.Object projectIdOrPath, java.lang.Long boardId, java.lang.Long listId) throws GitLabApiException
Soft deletes an existing Issue Board list. Only for admins and project owners.GitLab Endpoint: DELETE /projects/:id/boards/:board_id/lists/:list_id
- Parameters:
projectIdOrPath
- the project in the form of an Long(ID), String(path), or Project instanceboardId
- the ID of the boardlistId
- the ID of the list- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoards
public java.util.List<org.gitlab4j.api.models.Board> getGroupIssueBoards(java.lang.Object groupIdOrPath) throws GitLabApiException
Lists Issue Boards in the given group.GitLab Endpoint: GET /groups/:id/boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instance- Returns:
- a list of group's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoards
public java.util.List<org.gitlab4j.api.models.Board> getGroupIssueBoards(java.lang.Object groupIdOrPath, int page, int perPage) throws GitLabApiException
Get all issue boards for the specified group using the specified page and per page settingGitLab Endpoint: GET /groups/:id/boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instancepage
- the page to getperPage
- the number of items per page- Returns:
- a list of group's Boards in the specified range
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoards
public Pager<org.gitlab4j.api.models.Board> getGroupIssueBoards(java.lang.Object groupIdOrPath, int itemsPerPage) throws GitLabApiException
Get a Pager of all issue boards for the specified group.GitLab Endpoint: GET /groups/:id/boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceitemsPerPage
- the number of items per page- Returns:
- a Pager of group's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoardsStream
public java.util.stream.Stream<org.gitlab4j.api.models.Board> getGroupIssueBoardsStream(java.lang.Object groupIdOrPath) throws GitLabApiException
Get a Stream of all issue boards for the specified group.GitLab Endpoint: GET /groups/:id/boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instance- Returns:
- a Stream of group's issue boards
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoard
public org.gitlab4j.api.models.Board getGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a single issue board.GitLab Endpoint: GET /groups/:id/boards/:board_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Returns:
- a Board instance for the specified board ID
- Throws:
GitLabApiException
- if any exception occurs
-
getOptionalGroupIssueBoard
public java.util.Optional<org.gitlab4j.api.models.Board> getOptionalGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get an issue board as an Optional instance.GitLab Endpoint: GET /groups/:id/boards/:board_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Returns:
- the Board instance for the specified board ID as an Optional instance
-
createGroupIssueBoard
public org.gitlab4j.api.models.Board createGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.String name) throws GitLabApiException
Creates a new Issue Board.GitLab Endpoint: POST /groups/:id/boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instancename
- the name for the new board- Returns:
- the created Board instance
- Throws:
GitLabApiException
- if any exception occurs
-
updateGroupIssueBoard
public org.gitlab4j.api.models.Board updateGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.String name, java.lang.Boolean hideBacklogList, java.lang.Boolean hideClosedList, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.String labels, java.lang.Integer weight) throws GitLabApiException
Updates an existing Issue Board.GitLab Endpoint: PUT /groups/:id/boards/:board_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instance, requiredboardId
- the ID of the board, requiredname
- the new name of the board, optional (can be null)hideBacklogList
- hide the Open list, optional (can be null)hideClosedList
- hide the Closed list, optional (can be null)assigneeId
- the assignee the board should be scoped to, optional (can be null)milestoneId
- the milestone the board should be scoped to, optional (can be null)labels
- a comma-separated list of label names which the board should be scoped to, optional (can be null)weight
- the weight range from 0 to 9, to which the board should be scoped to, optional (can be null)- Returns:
- the updated Board instance
- Throws:
GitLabApiException
- if any exception occurs
-
deleteGroupIssueBoard
public void deleteGroupIssueBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId) throws GitLabApiException
Soft deletes an existing Issue Board.GitLab Endpoint: DELETE /groups/:id/boards/:board_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoardLists
public java.util.List<org.gitlab4j.api.models.BoardList> getGroupIssueBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a list of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /groups/:id/boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Returns:
- a list of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoardLists
public java.util.List<org.gitlab4j.api.models.BoardList> getGroupIssueBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId, int page, int perPage) throws GitLabApiException
Get a list of the board’s lists for the specified group to using the specified page and per page setting. Does not include open and closed lists.GitLab Endpoint: GET /groups/:id/boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardpage
- the page to getperPage
- the number of Boards per page- Returns:
- a list of the issue board's lists in the specified range
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoardLists
public Pager<org.gitlab4j.api.models.BoardList> getGroupIssueBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId, int itemsPerPage) throws GitLabApiException
Get a Pager of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /groups/:id/boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boarditemsPerPage
- the number of Board instances that will be fetched per page- Returns:
- a Pager of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoardsListsStream
public java.util.stream.Stream<org.gitlab4j.api.models.BoardList> getGroupIssueBoardsListsStream(java.lang.Object groupIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a Stream of the board’s lists. Does not include open and closed lists.GitLab Endpoint: GET /groups/:id/boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Returns:
- a Stream of the issue board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupIssueBoardList
public org.gitlab4j.api.models.BoardList getGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId) throws GitLabApiException
Get a single issue board list.GitLab Endpoint: GET /groups/:id/boards/:board_id/lists/:list_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardlistId
- the ID of the board lists to get- Returns:
- a BoardList instance for the specified board ID and list ID
- Throws:
GitLabApiException
- if any exception occurs
-
getOptionalGroupIssueBoardList
public java.util.Optional<org.gitlab4j.api.models.BoardList> getOptionalGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single issue board list as an Optional instance.GitLab Endpoint: GET /groups/:id/boards/:board_id/lists/:list_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardlistId
- the ID of the board lists to get- Returns:
- a BoardList instance for the specified board ID and list ID as an Optional instance
-
createGroupIssueBoardList
public org.gitlab4j.api.models.BoardList createGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long labelId, java.lang.Long assigneeId, java.lang.Long milestoneId, java.lang.Long iterationId) throws GitLabApiException
Creates a new Issue Board list.GitLab Endpoint: POST /groups/:id/boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardlabelId
- the ID of the labelassigneeId
- The ID of a user. Premium and Ultimate only, optional (can be null)milestoneId
- The ID of a milestone. Premium and Ultimate only, optional (can be null)iterationId
- The ID of a milestone. Premium and Ultimate only, optional (can be null)- Returns:
- the created BoardList instance
- Throws:
GitLabApiException
- if any exception occurs
-
updateGroupIssueBoardList
public org.gitlab4j.api.models.BoardList updateGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId, java.lang.Integer position) throws GitLabApiException
Updates an existing Issue Board list. This call is used to change list position.GitLab Endpoint: PUT /groups/:id/boards/:board_id/lists/:list_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardlistId
- the ID of the listposition
- the new position for the list- Returns:
- the updated BoardList instance
- Throws:
GitLabApiException
- if any exception occurs
-
deleteGroupIssueBoardList
public void deleteGroupIssueBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId) throws GitLabApiException
Soft deletes an existing Issue Board list. Only for admins and group owners.GitLab Endpoint: DELETE /groups/:id/boards/:board_id/lists/:list_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardlistId
- the ID of the list- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoards
public java.util.List<org.gitlab4j.api.models.Board> getGroupEpicBoards(java.lang.Object groupIdOrPath) throws GitLabApiException
Lists epic boards in the given group.GitLab Endpoint: GET /groups/:id/epic_boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instance- Returns:
- a list of group's epic boards
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoards
public java.util.List<org.gitlab4j.api.models.Board> getGroupEpicBoards(java.lang.Object groupIdOrPath, int page, int perPage) throws GitLabApiException
Get all epic boards for the specified group using the specified page and per page settingGitLab Endpoint: GET /groups/:id/epic_boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instancepage
- the page to getperPage
- the number of items per page- Returns:
- a list of group's Boards in the specified range
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoards
public Pager<org.gitlab4j.api.models.Board> getGroupEpicBoards(java.lang.Object groupIdOrPath, int itemsPerPage) throws GitLabApiException
Get a Pager of all epic boards for the specified group.GitLab Endpoint: GET /groups/:id/epic_boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceitemsPerPage
- the number of items per page- Returns:
- a Pager of group's epic boards
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoardsStream
public java.util.stream.Stream<org.gitlab4j.api.models.Board> getGroupEpicBoardsStream(java.lang.Object groupIdOrPath) throws GitLabApiException
Get a Stream of all epic boards for the specified group.GitLab Endpoint: GET /groups/:id/epic_boards
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instance- Returns:
- a Stream of group's epic boards
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoard
public org.gitlab4j.api.models.Board getGroupEpicBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a single epic board.GitLab Endpoint: GET /groups/:id/epic_boards/:board_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Returns:
- a Board instance for the specified board ID
- Throws:
GitLabApiException
- if any exception occurs
-
getOptionalGroupEpicBoard
public java.util.Optional<org.gitlab4j.api.models.Board> getOptionalGroupEpicBoard(java.lang.Object groupIdOrPath, java.lang.Long boardId)
Get an epic board as an Optional instance.GitLab Endpoint: GET /groups/:id/epic_boards/:board_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Returns:
- the Board instance for the specified board ID as an Optional instance
-
getGroupEpicBoardLists
public java.util.List<org.gitlab4j.api.models.BoardList> getGroupEpicBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a list of the board’s lists.GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Returns:
- a list of the epic board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoardLists
public java.util.List<org.gitlab4j.api.models.BoardList> getGroupEpicBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId, int page, int perPage) throws GitLabApiException
Get a list of the board’s lists for the specified group to using the specified page and per page setting.GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardpage
- the page to getperPage
- the number of Boards per page- Returns:
- a list of the epic board's lists in the specified range
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoardLists
public Pager<org.gitlab4j.api.models.BoardList> getGroupEpicBoardLists(java.lang.Object groupIdOrPath, java.lang.Long boardId, int itemsPerPage) throws GitLabApiException
Get a Pager of the board’s lists.GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boarditemsPerPage
- the number of Board instances that will be fetched per page- Returns:
- a Pager of the epic board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoardsListsStream
public java.util.stream.Stream<org.gitlab4j.api.models.BoardList> getGroupEpicBoardsListsStream(java.lang.Object groupIdOrPath, java.lang.Long boardId) throws GitLabApiException
Get a Stream of the board’s lists.GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the board- Returns:
- a Stream of the epic board's lists
- Throws:
GitLabApiException
- if any exception occurs
-
getGroupEpicBoardList
public org.gitlab4j.api.models.BoardList getGroupEpicBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId) throws GitLabApiException
Get a single epic board list.GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists/:list_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardlistId
- the ID of the board lists to get- Returns:
- a BoardList instance for the specified board ID and list ID
- Throws:
GitLabApiException
- if any exception occurs
-
getOptionalGroupEpicBoardList
public java.util.Optional<org.gitlab4j.api.models.BoardList> getOptionalGroupEpicBoardList(java.lang.Object groupIdOrPath, java.lang.Long boardId, java.lang.Long listId)
Get a single epic board list as an Optional instance.GitLab Endpoint: GET /groups/:id/epic_boards/:board_id/lists/:list_id
- Parameters:
groupIdOrPath
- the group in the form of an Long(ID), String(path), or Group instanceboardId
- the ID of the boardlistId
- the ID of the board lists to get- Returns:
- a BoardList instance for the specified board ID and list ID as an Optional instance
-
-