how to set component based upon email

I have a project that has three different emails which automatically create issues upon being emailed.  I would like to automatically set the Component based on which email address the issue was created from. 

So I have mbox1, mbox2, mbox3 all with incoming mail server directing them to project A.   Project A has three preset components mbox1, mbox2, and mbox3.   

So upon send an email to mbox2 an issue is created in project a and tagged with component mbox2.

I have everything except the tagging with component part complete.

1 answer

This widget could not be displayed.

Ah, I'm afraid you won't get it either.

The built-in handlers do not have functions that allow you to set components.  

You'll need to write your own listener or find something to help you with it.  The JEMH is always worth a look for clever handling of incoming mail, and I think you could do something with the script runner. 

I have played with JEMH. but could not get that to work. I could see the need for script runner in the future, do you have a recommendation for a decent tutorial on writing scripts with script runner?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

601 views 26 15
Join discussion

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