-
Suggestion
-
Resolution: Done
As a stash-administrator
I want to use the REST API to configure the pull request
So that I can ensure the proper configuration is made across all repositories
Example:
URI | /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests |
---|---|
Get | Returns current configuration; ie "0 approvers, 2 builds" |
Post | set the configuration |
Possible PR configurations:
- The number of required approvals before a PR can be merged.
- The number of required builds before a PR can be merged.
- Unapprove all reviewers when the source branch of a pull request changes (when Stash Auto Unapprove Plugin ins installed)
When adding a REST endpoint, a corresponding Java service should also be exposed.
- is duplicated by
-
BSERV-3944 Set and Get pull request options via the REST API
- Closed
-
BSERV-8491 Have a REST Endpoint which provides the minimum number of successful builds per Pull Request
- Closed
- is related to
-
BSERV-5411 Set branching model using REST API
- Gathering Interest
-
PENG-4047 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...