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

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 4 gitlab/v4/objects/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class GroupBoardListManager(CRUDMixin[GroupBoardList]):
_obj_cls = GroupBoardList
_from_parent_attrs = {"group_id": "group_id", "board_id": "id"}
_create_attrs = RequiredOptional(
exclusive=("label_id", "assignee_id", "milestone_id")
exclusive=("label_id", "assignee_id", "milestone_id", "iteration_id")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the docs I don't see that iteration_id is mutually exclusive. Can you confirm? Though for group they don't mention that any of them are mutually exclusive but project does.

https://docs.gitlab.com/api/group_boards/#new-group-issue-board-list

Copy link
Contributor Author

@massimiliano96 massimiliano96 May 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made a test using a simple curl:

image

But you are right I don't see any docs about this.

)
_update_attrs = RequiredOptional(required=("position",))

Expand All @@ -48,7 +48,7 @@ class ProjectBoardListManager(CRUDMixin[ProjectBoardList]):
_obj_cls = ProjectBoardList
_from_parent_attrs = {"project_id": "project_id", "board_id": "id"}
_create_attrs = RequiredOptional(
exclusive=("label_id", "assignee_id", "milestone_id")
exclusive=("label_id", "assignee_id", "milestone_id", "iteration_id")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the docs I don't see that iteration_id is mutually exclusive. Can you confirm?

https://docs.gitlab.com/api/boards/#create-a-board-list

)
_update_attrs = RequiredOptional(required=("position",))

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.