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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.