Make Custom Field visible in JETI "send email" Details


is there any chance to make a custom Field visible at the right side of the JETI Screen? Like in the "Details" section?



1 answer

1 accepted

Accepted Answer
0 votes
Henning Tietgens Community Champion May 12, 2013

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 ($"Contact Email")
        <li class="item">
            <div class="wrap">
                <strong class="name">$</strong>
                <span class="value">$!{cf.getValue($action.getIssueObject())}</span>

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.

&lt;div class="module toggle-wrap"&gt;
    &lt;div class="mod-header"&gt;&lt;h3 class="toggle-title"&gt;$!action.i18n.getText("view.issue.people")&lt;/h3&gt;&lt;/div&gt;
    &lt;div class="mod-content"&gt;
        &lt;ul class="property-list"&gt;
            #if ($!action.getIssueObject().getVotes() &amp;&amp; $!action.getIssueObject().getVotes().intValue() &gt; 0)
            &lt;li class="item"&gt;
&lt;/div&gt; &lt;!-- module --&gt;

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...


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

78 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you