跳到主要内容

Set the branch associated with the Issue

PUT 

/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

Query Parameters

    access_token stringrequired

    User authorization code

Body

    branch_namesstring[]required

    List of Branch Names

Responses​

Response Headers
    Schema
    • Array [
    • string
    • ]