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

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Use case
   
   DevLake uses `Bamboo project` as the data scope of Bamboo CI. However, the 
project is too abstract in this case. In Bamboo CI, a `plan` will be associated 
with 0 or 1 repo. Thus, the deployments collected from Bamboo CI can be mapped 
to PRs in a more precise way to measure [Median Lead Time for 
Changes](https://devlake.apache.org/docs/Metrics/LeadTimeForChanges#how-is-it-calculated),
 as deployments and PRs can be mapped within the same repos.
   
   However, a Bamboo CI `project` usually contains multiple plans. Using this 
as the data scope will lead to inaccuracy of calculating the change lead time.
   
   ### Description
   
   - [ ] Provide remote API for `Bamboo plans` for users to configure data 
scope in the Config UI
   - [ ] Enrich and transform `Bamboo plans` other than `Bamboo projects` to 
the domain layer
   - [ ] (Optional) Remove the logic of collecting Bamboo projects if it takes 
a long time/requests. Otherwise, just keep it.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to