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?
hi jamie, thanks for your answer.
I am facing problem regarding greenHopperCacheManager and applicationContext in the variation of this code in java. Can someone please share the corresponding code snippet in java?
It's not a component, or not a public component. You could try using the latest version of script runner and seeing Working With JIRA Agile.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi jamie,
thanks for replying. Can you please post the corresponding java code snippet for your answer?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.