Hi.
I have a custom groovy scripted field that I'm calculating a status value based on linked issues. What I'm trying to do it to reuse the JIRA status labels so that it looks nice and familiar to the user.
What I'm returning from the script for the custom field is this:
"<span id=\"status-val\" class=\"value\"><span class=\" jira-issue-status-lozenge aui-lozenge jira-issue-status-lozenge-blue-gray jira-issue-status-lozenge-new jira-issue-status-lozenge-max-width-long \" data-tooltip=\"<span class="jira-issue-status-tooltip-title">To Do</span><span class="jira-issue-status-tooltip-desc">The issue has been completely defined and estimated. Ready to be worked on.</span>\" title=\"\" " +
"original-title=\"\">To Do</span></span>"
Now this works perfectly exept that it truncates the label name. So it only displays T...
Please see picture.
Does anybody know how to get it to stop truncating the name?
I changed the class to this:
class=\"aui-label\">
then it doesn't truncate the label.
I don't think you can, without using another aui class.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Strange that I cannot set the width of the label. That would solve it.
There has to be a way to dispaly status labels in a custom field. Might be that the approach I have tried is the wrong approach and that there is a better one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is there anyway to fix this issue in confluence
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.