Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Pull Request Settings Not Set #6

Open
moserke opened this issue May 28, 2013 · 2 comments
Open

Pull Request Settings Not Set #6

moserke opened this issue May 28, 2013 · 2 comments

Comments

@moserke
Copy link
Contributor

moserke commented May 28, 2013

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

@bflad
Copy link
Owner

bflad commented May 30, 2013

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.

@moserke
Copy link
Contributor Author

moserke commented May 30, 2013

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants