The link-summary of "issue links" panel can't be displayed to complete if I linked a long summary issue.
I use JIRA Software 7.5, and I found this resolution is available: Is it possible to change the number of Issue Links that display by default?. Can't find linkblock.vm any more. I don't want to buy a plugin. Do you have any suggestion?
Any suggestions appriciated!
Thank
-Maggie
Hi Maggie,
The link-summary of the "issue links" panel is managed via CSS in Jira. If you do Inspect Element, you can see within the div class link-content > link-summary that the summary of the issue is fully shown.
If you remove the white-space: nowrap from .links-list .link-content > p, you should be able to see the entire link.
If you wish to modify/control this, you will need to stop Jira then unjar the jira-view-issue-plugin-x.x.x.jar and edit the viewissue/links/links-container.vm. Remove the section "class="link-content"" and save the links-container.vm. After you have done this, jar the files and rename to jira-view-issue-plugin-x.x.x.jar. Make sure to replace the existing jira-view-issue plugin and replace with the new one.
Next start Jira and you should now see the full description. It's one approach of getting the full description without getting too involved with completely modifying the CSS.
Regards,
Javier A.
Thanks for your reply. This is very helpful.
But after I deleted the section "class="link-content"”, the link-summary was gone.
Did I wrong something? Here is what I deleted:
< div class ="link-content" >
# if (${issueLinkContext.remote})
${issueLinkContext.html}
# else
# parse("/issuelink/localissuelink.vm")
# end
< / div >
BTW, I want to add custom fields to issue links panel, I modified it according to https://community.atlassian.com/t5/Answers-Developer-Questions/Need-to-add-fixVersions-to-the-issuelinks-view-pane/qaq-p/540998. But I can’t find “LocalIssueLinkUtils.java:”, so I only add
< span style = "font-weight:bold” class ="name" > < span style="color:red" > CustomerName: </ span > $!{contextMap.customfield_10500} < / span >
I am not familiar with it, could you help me?
Thanks in advance!
-Maggie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maggie,
All you have to delete is class="link-content and nothing else.
So it should look like the following
< div >
# if (${issueLinkContext.remote})
${issueLinkContext.html}
# else
# parse("/issuelink/localissuelink.vm")
# end
< / div >
Regards,
Javier A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.