Update checkout rules via REST api?

v8.0.3

I can't seem to find a way to update checkout rules for an existing build configuration via the REST api, is this possible somehow?

User scenario is for each feature branch I create I want to update a specific build configuration to automatically build that branch. (These feature branches are made often, e.g. when fixing bugs, thus the need of automating the configuration to reflect the "latest work" branch).

Thanks.

2 comments
Comment actions Permalink

Hello,

I'm affraid that updating checkout rules is not supported. It is possible just to delete existing VCS root entry and POST a new one if you want to change it.
You can find all possible request for REST API here http://localhost:8080/httpAuth/app/rest/application.wadl

regards

Zdenek

0
Comment actions Permalink

Thanks. Created feature request http://youtrack.jetbrains.com/issue/TW-32348 (deleting the vcs root isn't really an option for us since it uses, amongst other things, special credentials).

0

Please sign in to leave a comment.