Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

API of create LinkedRepository by API is changed between version 6 and 7

radislavB
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 15, 2020

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

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events