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

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 Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

175 views 3 8
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot