-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Pull Requests
-
None
-
7
-
2
As a developer working on Bitbucket Data Center, I want to improve the logging mechanism for duplicate pull request detection, so that when a user attempts to create a pull request that conflicts with an existing one (i.e using the same pair of refs), the logged information includes the actual pull request ID and its title. This enhancement will help the support team, sys admins and developers quickly identify conflicting pull requests and provide clearer feedback to users about the issue.
Currently, in the checkUniquePullRequest method, when a user attempts to create a pull request that conflicts with an existing one, the system logs a debug message that indicates that matching open pull requests have been found. However, the information logged is limited to the internal representation of the pull requests retrieved from the database (i.e the database entry ID from sta_pull_request table alongside the pull request name).