Apache velocity templates changes are not reflected

I’m trying to modify the email that is sent at user signup (specifically, a new JIRA SD customer created with an email request), so that id does not display the “Activate my account button”, following Customizing email content | Administering Jira applications Data Center and Server 7.1 | Atlassian Documentation
I believe the Velocity template involved is “usercreated-nopassword.vm”, yet i tested also changing “usercreated.vm” and “usersignup.vm”

The changes I make to the Velocity template(s) (adding a string in the text ones, and “

some text
” ) are not reflected on the emails I am receiving (across jira restarts, and also when disabling cache in /atlassian-jira/WEB-INF/classes/velocity.properties)

I noticed that those tpls are missing in my atlassian-jira/WEB-INF/classes/email-template-id-mappings.xml (that i append at the end of this message), yet i see them in jira/atlassian-jira/WEB-INF/classes/hash-registry.properties

cp.templates/email/text/usercreated-nopassword.vm=78c683215823eb0b7941333c572fee2b
cp.templates/email/html/usercreated-nopassword.vm=4983131a8e332ebdf34d71107974f5a1
cp.templates/email/text/usercreated.vm=d71f90e2452b0704adb70f2820b2b843
cp.templates/email/html/usercreated.vm=7b8345ef32d068408bc874469ba28ec6
cp.templates/email/text/usersignup.vm=921e3779f6db7ca45e1068709ad40fd0
cp.templates/email/html/usersignup.vm=007bc1f51f37c24ab31fde2d74a74549

what am i doing wrong?
if those templates are missing in my /atlassian-jira/WEB-INF/classes/velocity.properties , where does jira gets them from?

Thanks

Miguel

<!-- this file should be updated in sync with EventType.java and EventType table -->
<templatemappings>
    <templatemapping id="1">
        <name>Issue Created</name>
        <template>issuecreated.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="2">
        <name>Issue Updated</name>
        <template>issueupdated.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="3">
        <name>Issue Assigned</name>
        <template>issueassigned.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="4">
        <name>Issue Resolved</name>
        <template>issueresolved.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="5">
        <name>Issue Closed</name>
        <template>issueclosed.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="6">
        <name>Issue Commented</name>
        <template>issuecommented.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="7">
        <name>Issue Reopened</name>
        <template>issuereopened.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="8">
        <name>Issue Deleted</name>
        <template>issuedeleted.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="9">
        <name>Issue Moved</name>
        <template>issuemoved.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="10">
        <name>Work Logged</name>
        <template>issueworklogged.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="11">
        <name>Work Started</name>
        <template>issueworkstarted.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="12">
        <name>Work Stopped</name>
        <template>issueworkstopped.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="13">
        <name>Generic Event</name>
        <template>issuegenericevent.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="14">
        <name>Issue Comment Edited</name>
        <template>issuecommentedited.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="15">
        <name>Issue Worklog Updated</name>
        <template>issueworklogupdated.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="16">
        <name>Issue Worklog Deleted</name>
        <template>issueworklogdeleted.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <templatemapping id="17">
        <name>Issue Comment Deleted</name>
        <template>issueupdated.vm</template>
        <templatetype>issueevent</templatetype>
    </templatemapping>
    <!--
         This is not mapped to an event type, these are the templates that are used when generating
         the mails sent out for filter subscriptions. The id has changed from 14 to 10000 in JIRA 3.8.
    -->
    <templatemapping id="10000">
        <name>Filter Subscription</name>
        <template>filtersubscription.vm</template>
        <templatetype>filtersubscription</templatetype>
    </templatemapping>

Hi @miguel.r.

Are you using the same JIRA Server version defined in the tutorial (i.e. 7.1)?

Cheers,
Anne Calantog

Hello @acalantog,
yes I am (Jira 7.60., Jira SD 3.9.0)

Please not that i’m using Jira SD for opening the request (and so create the user)
I can change all the SD email templates in server/servicedesk/admin/project/customer-notifications (see Set up notifications for your customers and team | Jira Service Management Cloud | Atlassian Support)
Yet the User Creation one is not in the list.
Are those Service Desk Email Notifications Templates matching any file in Jira folder?
Is the “User Created” Email dealt by Jira or Jira Service Desk?

Cheers,
Miguel

Hello @acalantog , any news over this issue?
It’s actually a blocker in my use case, since i would be sending emails with a broken activating link, not exactly a nice welcome to my customers.
Please let me know if i should have any news for me or if ask this somewhere else.

Greetings

Miguel

Hi @miguel.r,

Apologies, our documentation can be a bit frustrating. I think that you’re in the right vm, usersignup.vm or usercreated.vm. I only have tried to modify a different template before, but If you notice in the usersignup or usercreated vms, content of the vm is retrieved from a properties file:

jira-install-dir\atlassian-jira\WEB-INF\classes\com\atlassian\jira\web\action\JiraWebActionSupport.properties

and several vms are included there. You might want to try changing that to test your scenarios. Revert your changes and make simple changes in the properties file to test, and move on from there. More information here.

Cheers,
Anne Calantog