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

feat(api): add iteration_id as boards create attribute#3191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

massimiliano96
Copy link
Contributor

Changes

Added support for iteration_id as an attribute when creating board lists.

@@ -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")

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 thatiteration_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
ContributorAuthor

@massimiliano96massimiliano96May 14, 2025
edited
Loading

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.

@@ -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")

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 thatiteration_id is mutually exclusive. Can you confirm?

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

@JohnVillalovosJohnVillalovos merged commit938b0d9 intopython-gitlab:mainMay 14, 2025
19 checks passed
@JohnVillalovos
Copy link
Member

Thanks@massimiliano96

@massimiliano96
Copy link
ContributorAuthor

Happy to contribute!@JohnVillalovos

@massimiliano96massimiliano96 deleted the iteration_id_as_boards_create_attribute branchMay 14, 2025 13:15
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JohnVillalovosJohnVillalovosJohnVillalovos left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@massimiliano96@JohnVillalovos

[8]ページ先頭

©2009-2025 Movatter.jp