You don't have permission to access this service project for Email requests
Asked by Giovanni Cardillo:

Hi,

I'm in the trial period before the migration from server to Cloud and I'm in trouble with the mail request in the Service Project.

Even if I've followed these steps:

<https://confluence.atlassian.com/jirakb/enable-automatic-accounts-creation-through-email-requests-1167726016.html>

++If a certain customer@somedomain.com sends a message to the myproject@serviceproject.com the operation fails because "You don't have permission to access this service project"++ ![Screenshot 2024-09-20 00.21.23.png](/t5/image/serverpage/image-id/348272i563B677BCC034AB0/image-size/large?v=v2&px=999 "Screenshot 2024-09-20 00.21.23.png")

I found another article where the solution is ++customer@somedomain.com++to join the jira-servicemanagement-customers group and it worked.

But I have more than 5.000 customer users and many others to come, how can I resolve without joining the group one by one?

Please help me

Thanks

**INFO UPDATE**: it seems like this:

* If the CUSTOMER_MAIL is a migrated one, it doesn't work as it should until I add manually the group jira-servicemanagement-customers
* If the CUSTOMER_MAIL is a new one, it works as it should and it opens the request automatically

Then, there is no official automation way to get an alert for the mail handler failings <https://jira.atlassian.com/browse/JSDCLOUD-2517>

It's a very big trouble for me

Please help me

Thanks


Answers:
author: Anusha A
body: Hi [Giovanni,](https://community.atlassian.com/t5/user/viewprofilepage/user-id/5332543)

I have created a ticket on your behalf as our support experts can dig in a bit from your instance and understand the configuration to efficiently help you further. You will be receiving an email with the details soon.

Regards,

Anusha A

comments: author: Giovanni Cardillo
body: Hi [@Anusha A](/t5/user/viewprofilepage/user-id/4968529) and [@Kai Becker](/t5/user/viewprofilepage/user-id/1178079) ,

thanks for your interest.

Maybe I found a possible workaround:

instead of adding the group jira-servicemanagement-customers manually one by one I could use the BULKOPS app available in the store and get the customers joining the group by uploading a CSV file.

I hope we can find a definitive solution and not necessarily a workaround.

Thanks for tour help


author: Giovanni Cardillo
body: Hi [@Kai Becker](/t5/user/viewprofilepage/user-id/1178079) ,

yes, the MIGRATED CUSTOMERS have been created by cloud migration assistant and only emails sent by MIGRATED CUSTOMERS have the problem.

I noticed something, hope it helps:

MIGRATED CUSTOMER are present both in Customer section of JMS and in the admin.atlassian.com \> Manage user section.

Mails sent by a NEW CUSTOMER open the request automatically and, once done, the NEW CUSTOMER is present in Customer section of JMS but NOT in the admin.atlassian.com \> Manage user section

Thanks for your help

comments: author: Kai Becker
body: are they assigned to the service management customer role and added to the project via people tab?  
Maybe this got messed up during cloud migration. I haven't done one for a while so I'm not fully aware of the current features and bugs.


author: Giovanni Cardillo
body: Hi,

[@Kai Becker](/t5/user/viewprofilepage/user-id/1178079)

* in the admin.atlassian.com \> Manage user section they don't have any product access
* in the people tab they are not present

According to your opinion something's gone wrong with the migration?

Thanks again for your help


author: Kai Becker
body: [@Giovanni Cardillo](/t5/user/viewprofilepage/user-id/5332543) not a hundred percent sure at the moment.   
I think it definitely has something todo with the customers missing from the people tab.  
Could you try to add a few customers and try emailing with these addresses?


author: Kai Becker
body: Hi [@Giovanni Cardillo](/t5/user/viewprofilepage/user-id/5332543)

thank you for your question. How do you identify these old customers? Are the created via cloud migration assistant? Or are only the requests copied over and they are not correctly associated with this service project? Your error usually comes from a missing permisson setting.

Regarding you way to get notified for failing mail handler, make sure you take a look at this guide: <https://community.atlassian.com/t5/Jira-Service-Management-articles/An-unofficial-way-to-monitor-a-JSM-mail-handler-for-errors/ba-p/2132002#M2089>


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-software