incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Bug][Bitbucket_server] pr.url needs to be changed.

Open ohjongsung opened this issue 10 months ago • 0 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

We are using bitbucket server (v8.9.10). The PR url is empty in Dora Details - Lead Time for Changes.

image

I checked the table and it was actually empty.

When I checked the code, I found that it uses the same fields from Bitbucket cloud. https://github.com/search?q=repo%3Aapache%2Fincubator-devlake%20pull.Links.Html.Href&type=code

Shouldn't we use links.self.href on bitbucket server? When checked locally, it looks like below. image

What do you expect to happen

I want pr.url to be collected properly.

How to reproduce

Start data collection for a project with a Bitbucket Server plugin connection. Then check the Dora Details - Lead Time for Changes board.

Anything else

No response

Version

v1.0.0-beta1

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

ohjongsung avatar Apr 01 '24 06:04 ohjongsung