跳到主要内容

Get the list of branches associated with the issue

GET 

/api/v5/repos/:owner/:repo/issues/:number/related_branches

Request​

Path Parameters

    owner stringrequired

    Repository space address (organization or individual's address path)

    repo stringrequired

    Repository path (path)

    number stringrequired

    Issue Number (case-sensitive, do not add #)

Query Parameters

    access_token string

    User authorization code

Responses​

Response Headers
    Schema
    • Array [
    • string

      Branch name

    • ]