Hello,
I have a quick question. I wrote a groovy script and I am trying to get all IssueLinkTypes. Unfortuanely the function is not working. Has anybody an idea?
import com.atlassian.jira.issue.link.IssueLinkTypeManager
IssueLinkTypeManager.getIssueLinkTypes()
Error: "No signature of method: static com.atlassian.jira.issue.link.IssueLinkTypeManager.getIssueLinkTypes() is applicable for argument types: () values: []"
Hi @Martin Bayer _MoroSystems_ s_r_o__ sorry, I should have included this information: it is JIRA 8.5.4
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stefan Thiem I'm not sure if your code is complete, but in my case the following code works fine:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.link.IssueLinkTypeManager
ComponentAccessor.getOSGiComponentInstanceOfType(IssueLinkTypeManager.class).getIssueLinkTypes()
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.