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
Description of the problem, including code/CLI snippet
When using the API I cannot save a board, even though this behavior issupported by the API. It looks like the SaveMixin is (deliberately?) omitted from the class definition of GroupBoard and ProjectBoard.
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
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Description of the problem, including code/CLI snippet
When using the API I cannot save a board, even though this behavior is supported by the API. It looks like the
SaveMixin
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.
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
1.8.0
v4
11.11.1-ee
The text was updated successfully, but these errors were encountered: