runatlantis / atlantis

Terraform Pull Request Automation
https://www.runatlantis.io
Other
7.87k stars 1.06k forks source link

Azure DevOps: Pull Request Link navigates to the API #1045

Open jpreese opened 4 years ago

jpreese commented 4 years ago

When viewing the locks for Atlantis, the Pull Request Link section links to the Azure DevOps API, rather than the pull request itself.

lkysow commented 4 years ago

I'm not super familiar with azdo. Can you give me an example of what it links to and what it should?

jpreese commented 4 years ago

No problem! I intended on fixing this up, just created most of the issues as reminders or in the event another AzDO user stumbled on a similar issue.

The URL currently links to:

https://dev.azure.com/org_friendly_name/project_id/_apis/git/repositories/repository_id/pullRequests/pull_request_number

but instead should link to:

https://dev.azure.com/org_friendly_name/project_friendly_name/_git/repository_friendly_name/pullrequest/pull_request_number