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, out of office, loom, confluence, async collaboration, meeting recaps, remote teamwork, team alignment, knowledge sharing, AI-powered notes, productivity tools, workforce continuity, teamwork collection

Put your meeting notes on autopilot with Loom + Confluence

AI-powered meeting notes keep work moving even if you’re out of the office. Enjoy your well-deserved time off and return refreshed, confident you’ll catch up in no time.

Learn more
AUG Leaders

Atlassian Community Events