Skip to content

Add sorting to the Pull request by Base Head API #35217

@adsbhatial

Description

@adsbhatial

Feature Description

Hi team,

The current version of the Get Pull Request by Base and Head API doesn't provide any sorting functionality for the pull request.
It will always return the pull request that was first created. This makes this API useless if the branch is used in multiple pull requests.

Could we please have some other parameters for this API, like the List Pull Request API
Adding sort, state, labels, and poster to this API will be really helpful

Thanks.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions