Hi,
is there any chance to make a custom Field visible at the right side of the JETI Screen? Like in the "Details" section?
Regards,
Tim
Yes, you can patch the plugin. You have to modify the file emailissue-5.x.x.jar\templates\emailissue\operation\issue.vm to display your customfield.
#foreach($cf in $action.customFields) #if ($cf.name=="Contact Email") <li class="item"> <div class="wrap"> <strong class="name">$cf.name:</strong> <span class="value">$!{cf.getValue($action.getIssueObject())}</span> </div> </li> #end #end
With this part of code you can display a custom field "Contact Email" as part of a <ul> list. In our case I place this code at the following position.
<div class="module toggle-wrap"> <div class="mod-header"><h3 class="toggle-title">$!action.i18n.getText("view.issue.people")</h3></div> <div class="mod-content"> <ul class="property-list"> ... #if ($!action.getIssueObject().getVotes() && $!action.getIssueObject().getVotes().intValue() > 0) <li class="item"> ... </li> #end INSERT ADDITIONAL CODE HERE </ul> </div> </div> <!-- module -->
All modifications must be repeated (and tested) for every new delivery of the plugin. I have to do this every time until this change request is implemented...
Henning
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.