I just try to edit file atlassian-bundled-plugins.zip\jira-issue-nav-plugin-6.1.16.jar\content\templates\splitview.soy for get status value in detail view on issue list pane.
It can be available with just adding:
<p> {$status} </p>
/** * A row in the issue list. * * @param key The issue's key. * @param summary The issue's summary. * @param status The issue's status. * @param type The issue's type. */ {template .issueRow} <img height="16" width="16" alt="{$type.name}" title="{$type.name} - {$type.description}" src="{$type.iconUrl}" /> //"splitview-issue-link" is used instead to stop enhanceIssueLinks from running <a class="splitview-issue-link issue-link-key" data-issue-key="{$key}" href="{contextPath()}/browse/{$key}"> {$key} </a> <a class="splitview-issue-link issue-link-summary" data-issue-key="{$key}" href="{contextPath()}/browse/{$key}"> {$summary} </a> <p> {$status} </p> <div class="aui-group"> <div class="aui-item"> <span> {$status} </span> </div> </div> {/template}
The value is displayed but is not localized to locale language. In issue's details i see localized value.
Why it can be? How i can get localized value?
Found that
<th class="issue-status"><div> {getText('issue.column.heading.status')} </div></th>
displaying localized value of "Status:".
But when i try
<td class="issue-status"><div class="status-lozenge">{$issue.fields.status.name}</div></td>
than i have error:
com.google.template.soy.base.SoySyntaxException: In file content/templates/splitview.soy:121,
template JIRA.Templates.SplitView.issueRow:
Found references to data keys that are not declared in SoyDoc: [issue]
at com.google.template.soy.soytree.SoytreeUtils.createSoySyntaxExceptionWithMetaInfo(SoytreeUtils.java:57)
at com.google.template.soy.sharedpasses.CheckSoyDocVisitor.visitTemplateNode(CheckSoyDocVisitor.java:200)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visitTemplateBasicNode(AbstractSoyNodeVisitor.java:152)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:64)
at com.google.template.soy.soytree.AbstractSoyNodeVisitor.visit(AbstractSoyNodeVisitor.java:54)
at com.google.template.soy.basetree.AbstractNodeVisitor.visitChildren(AbstractNodeVisitor.java:58)
.... CUTTED
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.