The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events