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

getXmlData method removed from RepositoryData interface in bamboo 5.8.1

Mahmut Abbas September 10, 2015

Hi,

We have a plugin developed in bamboo 5.6.1 and we want to use the same plugin in another bamboo instance which is 5.8.1. 

Our problem is getXmlData() method in RepositoryData interface is removed in 5.8.1.

How can we get the repository's xml data in 5.8.1 ? 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Marcin Gardias
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 10, 2015

You can't get the xml string, however you can access org.apache.commons.configuration.HierarchicalConfiguration object which contains the same data:

 

@NotNull
HierarchicalConfiguration getConfiguration();
Mahmut Abbas September 10, 2015

Thanks for the answer, I got the repository.stash.projectKey and repoSlug values from the HierarchicalConfiguration.

TAGS
AUG Leaders

Atlassian Community Events