Thanks for the earlier feedback on looking through the source code…once I found CTRL-N in Idea, it was much easier to find what I was looking for. But now I’m stuck again. I’m trying to change the board admins for a board using the Java API but I can’t seem to figure out how to get an instance of BoardAdminService or BoardAdminManager. In the code, I can see that they Autowire:
@Autowired private BoardAdminManager boardAdminManager;
But when I try it, it says:
No qualifying bean of type [com.atlassian.greenhopper.manager.rapidview.BoardAdminManager] found for dependency
I have also tried:
BoardAdminService boardService = (BoardAdminService) ComponentAccessor.getOSGiComponentInstanceOfType(BoardAdminService.class);
BoardAdminManager boardAdminManager = (BoardAdminManager) ComponentAccessor.getOSGiComponentInstanceOfType(BoardAdminManager.class);
But also no luck. How do you get access to these elusive services?