User creation notification mail

We are creating users via API into jira. After every creation the added user receives an email with a password change link. We would like to change this. Either changing the text inside the mail to remove the 'set password'-link or to disable the mail notification.

a) What's the preferred way of changing the mail send out to new users?

I see WEB-INF/classes/templates/email/[html|text]/usercreated[-nopassword].vm. How do i change JIRA to use usercreated-nopassword.vm instead of usercreated.vm?

I could overwrite usercreated.vm, sure. But i would like to know the official way.

b) Is there a chance to disable sending out user creation mails in jira? If yes, how? (I know there's a checkbox for manual created users but as explained above we do this via API and i didn't see an option for this.)



(If there are already FAQs or answered questions for this, please point me to it. I couldn't find it yet. Thx.)



2 answers

As far as i know we are (still) using the json-rpc API and there method createUser which apparently does not support a flag for notification. The REST API does not send out notifications (at least it's written that way) so if we are migrating someday this will be fine.

My questions here are more about administrating options, not necessarily dev ones. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,088 views 0 8
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