-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Affects Version/s: 7.21.0, 8.19.16
-
Component/s: Pull Requests - Default Reviewers
-
4
-
Severity 3 - Minor
-
5
Issue Summary
The Default Reviewer Conditions User Interface currently has a hard limit of 100 entries, lacking pagination. This limitation can lead to confusion in repositories with numerous rules, as not all reviewer conditions will be displayed in the interface, causing uncertainty about the application of specific rules.
Steps to Reproduce
Create a 100+ default reviewer conditions for a repository.
Expected Results
All the reviewer conditions should be displayed using paging system.
Actual Results
Not all the reviewer conditions are displayed.
Workaround
- Use the GET API with limit=1000 to get list of '1000' configured reviewer conditions: (This would list the ones not visible in the UI)
GET <<Bitbucket_base_URL>>/rest/default-reviewers/latest/projects/<<project_key>>/repos/<<repo_slug>>/conditions?limit=1000
- In case you want to remove a particular condition not visible in the UI, use the DELETE API after capturing the condition id from the previous step.
DELETE <<Bitbucket_base_URL>>/rest/default-reviewers/latest/projects/{projectKey}/repos/{repositorySlug}/condition/{id}