Hi .
In our plugin we create linked repository by using VcsRepositoryConfigurationService.
Lastly we wanted to add support of Bamboo version 7+ and found that API we used is broken
doc for 6.10.6 : createLinkedRepository(PartialVcsRepositoryData newVcsConfiguration, com.atlassian.user.User user, RepositoryConfigurationService.LinkedRepositoryAccess accessOption)
doc for 7.0.2 : createLinkedRepository(PartialVcsRepositoryData newVcsConfiguration, com.atlassian.user.User user, VcsRepositoryConfigurationService.LinkedRepositoryAccess accessOption)
Last parameter LinkedRepositoryAccessOption has changed its place, so actually we cannot support in the same plugin version 6 and version 7.
My questions
- Do we have any other API to create Linked repository that is the same in both versions?
- Is that possible to handle this change somehow in the same plugin?
- Is that possible to ask Atlassian to support both versions?
Thanks