Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
1
-
Description
Summary
The Default Reviewers REST resources POST methods create default reviewers pull request conditions one at a time:
- POST /rest/default-reviewers/1.0/projects/{projectKey}/condition creates one default reviewers PR condition for the given project
- POST /rest/default-reviewers/1.0/projects/{projectKey}/repos/{repositorySlug}/condition creates one default reviewers PR conditions for the given repo
The suggestion is to allow bulk creation of default reviewers PR conditions, similar to the POST methods of the Ref Restriction REST API. (for the Ref Restriction APIs, the Content-Type header accepts "application/vnd.atl.bitbucket.bulk+json")
Attachments
Issue Links
- is related to
-
BSERV-12773 The source and target matcher fields should be consistently named between the GET and POST methods of the Default Reviewers APIs
- Gathering Interest
-
BSERV-12774 Support the specification of default reviewers as an array of usernames for the Default Reviewers APIs
- Gathering Interest