We have the single email address like email@example.com (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
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.
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 (
.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.
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 .
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?
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 "firstname.lastname@example.org" 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.
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.
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.
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 https://studio.plugins.atlassian.com/wiki/display/
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)
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,