Skip to content

Impossible to get IDs of labels assigned to a GHIssue #1059

@dmitrykuzmin

Description

@dmitrykuzmin

When doing issue search, the results are provided as GHIssue which, via getLabels(), can provide own label list.

The problem with this is, the getLabels() method returns List<GHLabel>, and GHLabel doesn't store the unique numerical ID assigned to the label by GitHub. This makes API usage problematic for apps that want to utilize the label ID and cannot rely on its mutable parts like name or URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions