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

Create a issue board list by milestone_id still depends on label_id #1897

Closed
Assignees
kurisukun
@kurisukun

Description

@kurisukun

Description of the problem, including code/CLI snippet

I followed the APIdocumentation which says that the usage of label_id, milestone_id and assignee_id is mutually exclusive. So I wanted to create a board which would relate on milestones to have a timeline. The function goes like:

defcreate_board(repository):milestones=repository.milestones.list()formilestoneinmilestones:print(f'ID:{milestone.id}')timeline_board.lists.create({'milestone_id':milestone.id    })

Expected Behavior

Normally the board should be created according to the documentation.

Actual Behavior

AttributeError: Missing attributes: label_id

Specifications

  • python-gitlab==3.1.1
  • Gitlab server version (or gitlab.com): 14.2.4-ee

Metadata

Metadata

Assignees

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