Skip to content

View PR opens Azure DevOps API JSON instead of PR page #2842

@Manu-Devloo

Description

@Manu-Devloo

Description

Clicking View PR opens the Azure DevOps REST API URL for the pull request, which shows the JSON representation, instead of opening the human-readable Azure DevOps pull request page.

Current behavior

The link currently opens a URL like:

https://dev.azure.com/saplyai/a8fe4088-ad76-4eda-aaaa-e3329713a097/_apis/git/repositories/16108a25-93a3-4eff-b77d-85e894ee0fe4/pullRequests/863

That displays the PR API response JSON.

Expected behavior

The link should open the Azure DevOps PR page, for example:

https://dev.azure.com/saplyai/CV-engine/_git/CV-engine/pullrequest/863

Impact

Users cannot open the PR page directly from View PR and have to manually reconstruct the Azure DevOps web URL.

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