Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get web links from issue scriptrunner

Oleksii Okhmush
Contributor
February 3, 2020

Hello everyone,

I have some outgoing web links,

How can i get them via scriptrunner?

Снимок экрана 2020-02-03 в 14.14.59.png

1 answer

1 accepted

2 votes
Answer accepted
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2020

Hi @Oleksii Okhmush 

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()
Oleksii Okhmush
Contributor
February 3, 2020

Great thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

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 today
AUG Leaders

Atlassian Community Events