I'm member of plugin support team.
I don't have many groovy experience but looks like some plugin configuration needs to be changed to make required component available through ComponentAccessor. we are going to add these changes in the next plugin release (2.2). I'll let you know once next version will be available
Groovy is scripted Java basically so it can access all the method that a regular Java plugin can. That would be great if you could an API and a quick example of how to access.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Current plugin version 2.2.1 should support something like:
{
com.atlassian.jira.issue.Issue issue = ...; GitPluginIndexManager gitPluginIndexManager = (GitPluginIndexManager)ComponentAccessor.getOSGiComponentInstanceOfType(GitPluginIndexManager.class); List<RevisionInfo> revisions = gitPluginIndexManager.getLogEntriesByIssue gitPluginIndexManager(issue);
}
Let me know if it works for you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Groovy is scripted Java basically so it can access all the method that a regular Java plugin can. That would be great if you could an API and a quick example of how to access.
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.