I'm using the API /rest/api/2/user for create a bunch of users, since we are testing the availability of migrate our current project management tool to Jira I want to disable the option to send invitations to users so it doesn't send "test" invitation to our actual users, how can I acomplish that. Thanks
Hi @Nicolás Santisteban. Welcome to the Atlassian Community!
I was under the impression that you should explicitly specify to receive notifications and not the other way around. Are the users receiving it? You can use "notification": "false".
Something like:
curl --request POST \
--url 'https://your-domain.atlassian.net/rest/api/2/user' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"emailAddress": "mia@atlassian.com",
"displayName": "Mia Krystof",
"name": "",
"notification": "false"
}'
Hi! @Ivan Lima Thanks for your answer, in fact I don't want users to receive notifications because we keep doing test migrating lot of tickets from our current PM system. Tried with
"notification": "false"
and also with
"sendNotification": "false"
But both send the invitation to the user from the emailAddress field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nicolás Santisteban, you're right. I tested myself, and it's still sending emails. I looked at the Atlassian public issue tracker and found a bug related to this issue.
You can click "This affects my team" to increase the relevance and visibility of this bug and add yourself as a watcher to receive updates and notifications from now on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks again for your answer Ivan, already did what you recommend, and let's wait for a solution. Have a great day!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sounds good. If this answer helped you, it would be great to mark it accepted to help other users find it ;)
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.