Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following script can be used to retrieve external links and display them in a notification:Image Removed

Code Block
#if($remoteIssueLinkService.getRemoteIssueLinksForIssue($actionerUser, $issue).getRemoteIssueLinks().size() > 0)
True! Links found.

#set($foundLinks = $remoteIssueLinkService.getRemoteIssueLinksForIssue($actionerUser, $issue).getRemoteIssueLinks())

#foreach($remoteLink in $foundLinks)
$wikiRenderer.render($remoteLink.getTitle(),null)
$wikiRenderer.render($remoteLink.getUrl(),null)
#end

#else
False! No links found.
#end

How it looks

...