Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unable to save changes to a board #801

Closed
Labels
@Xavier-Wattermann

Description

@Xavier-Wattermann

Description of the problem, including code/CLI snippet

When using the API I cannot save a board, even though this behaviorissupported by the API. It looks like theSaveMixin is (deliberately?) omitted from the class definition ofGroupBoard andProjectBoard.

Here's the code we're using. At our company we use two group level boards - one to display the current sprint's issues and one to display the next sprint's issues. I am writing a script to automatically update the boards at the start of the sprint, such that they each display the correct milestone.

defupdate_board(self):"""        Updates the current board to point to the next sprint,and the next sprint board to point to the next-next sprint        :return: None        """current_board=Nonenext_board=None# get the boards we're interested inforboardinself.group.boards.list():ifboard.name=='Current Sprint':current_board=boardelifboard.name=='Next Sprint':next_board=board#  a function that returns two milestonescurrent_milestone,next_milestone=self.get_milestones()current_board.milestone=current_milestonenext_board.milestone=next_milestone#  save them - this code doesn't work because save() isn't a method of the GroupBoardcurrent_board.save()next_board.save()

Expected Behavior

A save function is available for boards, or if another method to update boards is expected, that method is documented

Actual Behavior

A save function is not available for boards. This (appears to) make it impossible to save changes to a board. The docs do not appear to mention another mechanism to do this.

Specifications

  • python-gitlab version:1.8.0
  • API version you are using (v3/v4):v4
  • Gitlab server version (or gitlab.com):11.11.1-ee

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp