chef-stash icon indicating copy to clipboard operation
chef-stash copied to clipboard

Pull Request Settings Not Set

Open moserke opened this issue 12 years ago • 2 comments

When creating a new repo with the repo LWRP the pull request settings of number of approvers and number of builds is not set.

moserke avatar May 28 '13 18:05 moserke

The Stash REST API doesn't specifically allow this setting from creating the repository (or if it does, its not been updated in the documentation): https://developer.atlassian.com/static/rest/stash/2.4.2/stash-rest.html#idp963904

I'm not immediately seeing a way to set this in the API at all. Can you take a look in the above documentation to see if I missed something? Otherwise, we'll need to get the feature request in.

bflad avatar May 30 '13 02:05 bflad

Correct, this is not in their REST API. I don't know why they wouldn't have put it there, but alas. In the pull request you'll see I am using the web forms to post the data to. Was the best I could come up with for it. Working well for us though. This is also only test on Stash 2.3 and 2.4.

moserke avatar May 30 '13 14:05 moserke