I want to discern multiple repositories in a Plan.
A ResultsSummary has multiple List<RepositoryChangeset> accordingly to the repositories in a Plan.
To know which RepositoryChangeset is related to which repository, I guess repositoryChangeset.getRepositoryDefinition().getName() is the only way.
It returns like 'Subversion Web', 'Subversion Repository' and so on.
When the repository is Subversion, the repository name becomes 'Subversion' + ' ' + '[Repository Root Path Name with the first letter upper-cased]'.
Is this right?
Sorry for my some misunderstandins.
I want to know which RepositoryChangeset obtained by ResultsSummary#getRepositoryChangesets()
is related to which Repository obtained by PlanHelper.getRepositories(getPlan()).
The repositoryChangeset.getRepositoryDefinition().getId() is good, but on the other hand SvnRepository seems not to have getId().
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs