ohjongsung opened a new issue, #7265:
URL: https://github.com/apache/incubator-devlake/issues/7265

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) 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](https://github.com/apache/incubator-devlake/assets/17442438/b2c3740e-c14e-431a-adf3-20caf0ad28e7)
   
   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](https://github.com/apache/incubator-devlake/assets/17442438/3e3eda1b-9135-4ebd-a6f9-b898a8105dd8)
   
   
   ### 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
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to