Import/export repository settings

Deleted user November 26, 2019

While exporting repository settings via API (rest/api/1.0/projects/{project}/repos/{repository}/settings/pull-requests) we receiving next response: 

 "com.atlassian.bitbucket.server.bitbucket-build:requiredBuilds": {
"enable": false,
"count": 1
}

Which is fine, but, when trying to upload it to newest bitbucket version:

"context""com.atlassian.bitbucket.server.bitbucket-build:requiredBuilds",            
"message""The required builds count must be greater than zero.",          "exceptionName"null

Which is not right. As well, when changing approvers to 1:

"context": "com.atlassian.bitbucket.server.bitbucket-build:requiredBuilds",

"message": "A required builds count can not be provided when disabling the merge check",      "exceptionName": null

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events