hi,
I am using ComponentAccessor to get an object of a component as ComponentManager methods appear all to be deprecated. So far i have tried the following code and it always returns null.
1. ComponentAccessor.getComponent(EpicLinkManagerImpl.class)
2. ComponentAccessor.getComponentofType(EpicLinkManagerImpl.class)
The EpicLinkManagerImpl.class belongs to the jira greenhopper plugin and i am tring to access this in my own custom plugin.
how can i achieve this? is there anything im doing wrong? or is there any other alternative?