Is it possible via velocity custom field using javascript or jquery display issue links to current issue?
Here the code for Velocity custom field (for view):
#set ($issueLinkManager = $jirautils.loadComponent('com.atlassian.jira.issue.link.DefaultIssueLinkManager', $customField.getClass())) #set ($outlinks = $issueLinkManager.getOutwardLinks($issue.id)) #foreach ($outlink in $outlinks) $outlink.destinationObject.key $outlink.destinationObject.summary <br> #end
Do you mean the incoming links? These should be displayed anyway.
I just released a version of the script runner that lets you use groovy to write the values for custom fields, there is a vaguely similar example to what it sounds like you want here: https://studio.plugins.atlassian.com/wiki/display/GRV/Scripted%20Fields#ScriptedFields-Aninformationmessage
Actually this won't work for most users.. Replace $customField.getClass() with $issue.getClass()
It looks like you're new here. Sign in or register to get started.