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.)
Which API are you using to create users? UserService has a method to create users without notification: https://docs.atlassian.com/jira/latest/com/atlassian/jira/bc/user/UserService.html#createUserNoNotification%28com.atlassian.jira.bc.user.UserService.CreateUserValidationResult%29
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.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot