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 @Stefan Thiem what version of Jira do you use?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.