edgafner / dorkag

Issue Tracker repository for all Dorkag plugins
Other
5 stars 0 forks source link

[BUG]: Opening PR or Checks does not work if collection name and repo name is not the same #94

Open Crimix opened 3 months ago

Crimix commented 3 months ago

Describe the bug If I try to open a PR in the browser and my AZD url is something like https://company.com/tfs/collection1/ and my repo is named repo1.

Then when I try to open PR in the browser it will try to do https://company.com/tfs/repo1/_git/repo1/pullrequest/1 which is not correct, it should be https://company.com/tfs/collection1/_git/repo1/pullrequest/1

The same happens with Checks. It will try to open https://company.com/tfs/collection1/_build?definitionId=1 which again is not correct, it should be https://company.com/tfs/collection1/repo1/_build?definitionId=1

Expected behavior I expected the urls to point to the PR and the checks and be able to be resolved

JetBrains IDE (please complete the following information):

Jonatha1983 commented 3 months ago

@Crimix thanks again for reporting will look into this

Jonatha1983 commented 2 months ago

Hi @Crimix

I finally have some time to review all your open tickets. Sorry for the delay.

For this ticket, where is the project name? You mentioned the collection (the organization in the AZD server) and the repo, but I didn't see a project in your examples.