Skip to content

GHTeam.add does not due to GHTeam.Role(s) been capitalized #489

@arykov

Description

@arykov

When trying to add a MAINTAINER or MEMBER to the team in GHE 2.16.1 org.kohsuke.github.HttpException: {"message":"Invalid request.\n\nMEMBER is not a member of ["member", "maintainer"].","documentation_url":"https://developer.github.com/enterprise/2.16/v3/teams/members/#add-or-update-team-membership"} is thrown. It appears to be capitalization problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions