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

0 votes
Accepted answer

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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,086 views 4 9
Read article

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