diff options
Diffstat (limited to 'docs/gl_objects/projects.rst')
-rw-r--r-- | docs/gl_objects/projects.rst | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst index 1abb82c..b02cdd5 100644 --- a/docs/gl_objects/projects.rst +++ b/docs/gl_objects/projects.rst @@ -565,78 +565,6 @@ Disable a service:: service.delete() -Issue boards -============ - -Boards are a visual representation of existing issues for a project. Issues can -be moved from one list to the other to track progress and help with -priorities. - -Reference ---------- - -* v4 API: - - + :class:`gitlab.v4.objects.ProjectBoard` - + :class:`gitlab.v4.objects.ProjectBoardManager` - + :attr:`gitlab.v4.objects.Project.boards` - -* GitLab API: https://docs.gitlab.com/ce/api/boards.html - -Examples --------- - -Get the list of existing boards for a project:: - - boards = project.boards.list() - -Get a single board for a project:: - - board = project.boards.get(board_id) - -Board lists -=========== - -Reference ---------- - -* v4 API: - - + :class:`gitlab.v4.objects.ProjectBoardList` - + :class:`gitlab.v4.objects.ProjectBoardListManager` - + :attr:`gitlab.v4.objects.Project.board_lists` - -* GitLab API: https://docs.gitlab.com/ce/api/boards.html - -Examples --------- - -List the issue lists for a board:: - - b_lists = board.lists.list() - -Get a single list:: - - b_list = board.lists.get(list_id) - -Create a new list:: - - # First get a ProjectLabel - label = get_or_create_label() - # Then use its ID to create the new board list - b_list = board.lists.create({'label_id': label.id}) - -Change a list position. The first list is at position 0. Moving a list will -set it at the given position and move the following lists up a position:: - - b_list.position = 2 - b_list.save() - -Delete a list:: - - b_list.delete() - - File uploads ============ |