Mail handler - add users to a group by default


I have an email handler that I thought worked fine! Until I checked the mailbox and saw 90 emails not picked up by Jira.

Some issues are created, some not. The test says "Reporter (NAME) does not have permission to create an issue. Message rejected."

If I add this user to the group 'Users' he is allowed to create issues. However, I do not know whow ill send me an email, so how can I set up that new users created via the email handler are automatically added to this group?

I'm quite puzzled... and worried about the 90 incoming issues :'(


1 answer

1 accepted

1 vote
Accepted answer

I'm guessing the users that "didn't" work are all sourced from a ldap server without a JIRA right-to-use group? This may matter because if a user isnt created, it may not receive a group membership.


  1. Bulk add all your potential users to jira-user users, and grant jira-users access in your project
  2. Make your mail handler do what you want
  3. Use JEMH to do this, one feature, is in Project Mappings, where, (for example), all mail to an inbound address X can, for each remote user, be auto created, and auto-joined to a group that is the lower case value of their email domain. That group can then also be automatically assigned to a Project Role, thereby avoiding that jira-users thing.


I think the issue is in sulution 1. Potential users are not by default granted access in the project. Where is this to be set up?


I added the option that 'Anyone' is allowed to add issues to the project and everything works like a charm. Not sure if this is the best way, but sure ways real quick.

Thanks for thinking along!

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

159 views 2 6
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