Mail handler - add users to a group by default

Hi,

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 :'(

Thnx!

1 answer

1 accepted

Accepted Answer
1 vote

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.

Either:

  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.

Hi,

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?

Thanks!

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
Published 3 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

41 views 0 3
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