I am following this link https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html?_ga=2.13037943.1370558991.1533198826-1414676974.1529507422 to automate crucible project creation. Wandering if there an API functionality to add multiple repositories for a single crucible project?
Help appreciated :)
Thanks in advance.
reposting my response here, so it can help more users!
At the moment there is no (supported) way of adding multiple repositories to a Crucible project via UI or API.
However, we do have a feature request (from UI so maybe not entirely in line with your use case) and a possible workaround from one of our developers, to do so via a POST.
The feature request concerns adding in bulk through the UI: CRUC-6269: Bulk add repositories into Project.
In the feature request comments, one of our developers offered the following workaround:
A request with the following parameters worked for me:
Cookie: <copy cookie from a logged-in admin session from a web browser>
Body: (form data www-url-form-encoded)
path=<path if wholeRep is false>
id=<project id, you can find it in 'id=NN' parameter in the URL when you edit a project>
atl_token=<copy the token from a web browser session after you add a repo to a project>
We hope this helps you achieve your goals!
We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...