BitBucket - 获取 PR 列表的评论数量和审核时间

问题描述 投票:0回答:1

我是一名工程经理,在我的团队中有以下关于拉取请求的论文:

1. Long PRs take longer to review (disproportionate to their length in lines of code)

2. Long PRs receive less comments per line of code than shorter PRs

我们正在与 BitBucket 合作。有没有办法用 BB 的实际统计数据来验证我的论文?更具体地说 - 对于给定 PR 的列表,我可以获取它们的代码数量、评论数量以及从推送到合并所需的时间吗?

(我看过几个 git 工具和类似的问题,但没有关于 BB PR 的内容)

statistics bitbucket pull-request bitbucket-api
1个回答
0
投票

有一个名为 jellyfish 的应用程序,我认为它提供了一些有关 PR 的信息。

另一种方法是使用 bitbucket cloud 的 API 并创建脚本/程序来检索信息: https://developer.atlassian.com/server/bitbucket/rest/v805/api-group-pull-requests/#api-api-latest-projects-projectkey-repos-repositoryslug-pull-requests-pullrequestid-blocker-评论获取

© www.soinside.com 2019 - 2024. All rights reserved.