Hello everyone,
I have some outgoing web links,
How can i get them via scriptrunner?
You can get all your links using the RemoteIssueLinkManager
import com.atlassian.jira.issue.link.RemoteIssueLinkManager
import com.atlassian.jira.component.ComponentAccessor
def rlm = ComponentAccessor.getComponentOfType(RemoteIssueLinkManager.class)
def issue = ComponentAccessor.issueManager.getIssueObject("JSP-1922")
rlm.getRemoteIssueLinksForIssue(issue)*.getUrl()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register todayOnline 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.