Hello everyone,
I have some outgoing web links,
How can i get them via scriptrunner?
Hi @Oleksii Okhmush
You can get all your links using the RemoteIssueLinkManager
import com.atlassian.jira.issue.link.RemoteIssueLinkManagerimport com.atlassian.jira.component.ComponentAccessordef rlm = ComponentAccessor.getComponentOfType(RemoteIssueLinkManager.class)def issue = ComponentAccessor.issueManager.getIssueObject("JSP-1922")rlm.getRemoteIssueLinksForIssue(issue)*.getUrl()
Great thanks!
It looks like you're new here. Sign in or register to get started.