Hello.
I am currently learning about the Rest API for Jira Cloud. In the process, I was wondering if there is a way to avoid sending invitation emails when creating users using the Rest API.
When inviting a user from the Users list page, I believe it is possible to create a user without sending an email invitation by unchecking the Send email checkbox.
Create, edit, and delete users
(Optional) If you don't want to send the Invite message, deselect Send email.
Isn't there such a setting in the Rest API?
Thank you in advance for your answer.
Hello,
Welcome to the community : )
There's an option to customize the invitation email, but the options are only available when the user is invited from the User Management page.
I am afraid this option is not available while inviting the users using REST API. below suggestion for Developer review:
ID-7713: Ability to customize invitation email when user invited/created via REST API
At this time, We do not have the option to disable the email notification triggered when creating users via Rest API. For other endpoints in the Jira API, we do have the option to set the "notifyUsers" paramter to false, however, the endpoint "/rest/api/3/user" does not support this parameter.
We do have an open feature request for this here:
Thank You,
Prachi
Hi Prachi.
Thank you for your response.
As I thought, it is not possible to achieve this with Rest API... I am sorry to hear that.
Also, the link you sent me was very helpful.
Thank You,
Jinichi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Jinichi :) You can watch the link directly so that you get all updates from the dev and product teams
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.