Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Email to project - assignee by component

We have the single email address like (Google Apps) and we got several offices (say in USA and Europe).

I have created the project HELPDESK in JIRA and 2 components like: USA and EUROPE.

I would like to assign tickets from USA employee to USA sysadmin and tickets from EUROPE to another person. So they are component leads in my project.

Anybody know the plugin that can help me to reach my goal?


Standard mail handler: I like that he can use IMAP folders to gather emails from. So I can setup 2 email handlers and in google apps (gmail) create some filters to separate USA employee from europe ones (and lable them). And in handlers grab emails from specific label to create an issue. However standard mail handler can be linked to a project only.

I have investigated JEMH plugin, however I haven't found an easy way to assign it to a component. I don't want users remember directives and put something like "component: USA" in every email. You know it's a crunch and easy to forget about that.

Idially I'd like to combine the standard Email Handler (IMAP Folders option) with JEMH (assign issues to component leader). Any options?

Thanks in advance

4 answers

1 accepted

1 vote
Answer accepted

No, the legacy configuration file supports only a subset of prior functionality, no new functionality and won't ever be extended. In its current form, it's expected to only be usable in 'unlicensed' mode but I broke it during RC when forward email configuration was pulled into JEMH, I have yet to fix it, but is on my short list to fix.

The Project Mapping features in JEMH 1.0+ were specifically implemented to address mapping sender domain/addressee to specific project components, based on the scenario you presented. You will need the UI in order to do that.

Ok thanks for explanation, I will mark your answer as accepted as you plugin now supports the functionality I was looking for

0 votes

Hi all I'm able to solve my question with the help of

* Out of the box jira mail handler

* Script runner plugin and custom-written groovy script

* Changing workflow and adding post function on creation step.

You may find useful to see how to achive that in details here:

I have written a blog post about that.

Hope that helps,

Thank you

BTW, with JEMH 1.0, and Project Mapping, you could use a regexp to map specific to/from domain addresses to specific projects/components. I've not thought of doing that just for component filling but I don't see why it wouldn't work.

I don't need the project mapping as I have single project HELPDESK. I don't need specific to / from. "To" will be always the single email "" and from may be one of the our employee (~150 different email addresses). And how that helps me to assign issue to a component without having component derective in email itself?

Are you 150 email addresses of a common domain, or split over many countries? How many domains are we talking about?

The Project Mapping stuff can be applied to email addresses at domain level, and can determin a project, component and assignee (whether that assignee is the component owner or not). This route would naturally result in n mappings, for the number of domains you have. Of course, if you have a single domain, that wont work, and you'll need some other way to differentiate, eg groups.

The Project Mappings in JEMH can also route messages based on the JIRA group membership, so all 'US' group members would get funnelled into component X. Combining the two isnt something Ive tried yet, adding a wildcard project mapping after a gorup mapping would achieve what you are trying to do, something I should look at as its just a logic issue as to which one goes first.

Let me know if you want to pursue/test.

We're talking about single domain. Thanks for the idea about people grouping, I'll dig that and will try to test and let you know if it works.

Andy could you please point me in documentation how to setup routing issues to a component via jira-group? I can't find it on the documentation portal for JEMH. Thanks in advance.

Hi Alex, doco is a weakness at the moment, working on it, meantime, for a single group see

thanks for all your efforts, I'm sort it out without JEMH and my solution totally fit our needs. However I admit that your plugin is great, but unfortunatly don't need it to buy. Wish you all the best and thanks once again for help, ideas and JEMH plugin itself.

No worries, the idea of mapping within a project to component by group membership or mail domain is a good one I'd thought of, so thanks for that!

For anyone not wanting to script their own solution. Mapping of inbound groups (and email to/from) to Project and per-mapping Component now implemented in JEMH, (RC2 out later today) , see doc's

Andy, I've come into a problem with non-jira users, so my script is needed to be enriched or either we'd need to use your plugin... however I need to test it, is it possible to achive that groups assignment without GUI interfece? just don't know the name of fields that needed to be used there (I mean config file)

No, all the new mapping features require the UI, sorry.

0 votes
Mizan Rising Star Mar 21, 2012

Hi Alex ,

>I would like to assign tickets from USA employee to USA sysadmin and tickets from EUROPE to another person. So they are component leads in my project.

There is a default Post function available in Jira which Assigns the issue to Lead Developer/Component Manager (

Assign to Lead Developer)

.You can use this postfunction on the create transition/step of your workflow. This will automatically assign the issue to the Component lead based on the component selected while creating the issue

However the email will be sent to the same email id.

And how determain to which component lead I should assign the ticket?

Mizan Rising Star Mar 21, 2012

When you select USA as a component while creating the ticket the ticket will be automatically assigned to the Component Lead of USA similarly for component Europe.

And for the email i dont know how but i guess you will have to do something with message rules if you are using outlook .

Mizan Rising Star Mar 21, 2012

Are you trying to create issues via emails ?

The question was related to Mail Handler. It is not related to any mail client (like outlook or web interface). The Handler is grabbing the mail directly from the server and creates an issue in JIRA. So if you read the post till the end you found that I can setup email handler to grab issue from the IMAP folder (and in that particular case the folder name is the component in JIRA project). But with postfunctions I have no that information, so the question was how to combine out-of-the box mail handler with the possibility to assign issues to component lead (that can be reached with the help of JEMH plugin).

And yes I'm trying to create issues via email, doesn't that obvios from the subject?

Mizan Rising Star Mar 21, 2012

Ok , I thought you want assign the issues automatically to the component lead but the email id is same .

Thanks for the idea, I'm able to figure it out! I am share my solution here on the page.

Suggest an answer

Log in or Sign up to answer