Closed
Description
Description of the problem, including code/CLI snippet
I followed the API documentation 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:
def create_board(repository):
milestones = repository.milestones.list()
for milestone in milestones:
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