Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create ticket from email for each project

Pye Phyoe Aung September 13, 2020

Hi ,

 

I have two projects and want to create ticket from email.

I created mail handlers for each project but tickets are creating in only one project.

 

Capture.JPG

2 answers

0 votes
Haddon Fisher
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2020

The last thing a mail handler does when it processes an email is delete the message from the mailbox, so it would never live long enough to make it to the second handler.

I have never used JEMH (suggested above) but the way I would handle this is:

1) Set up a rule for your mailbox which clones any inbound message and puts the copies into specific folders, then point your mail handlers to those folders.

2) Use something like Automation to auto-clone tickets created via email using in-UI logic. ScriptRunner could also do this, but Automation would be easier to implement and maintain.

0 votes
DPKJ
Community Champion
September 14, 2020

@Pye Phyoe Aung 

Once the mail is processed by mail handler I don't think you can process this again in another handler.

To solve this, I see two ways,

  1. Using Post function, which will require you to use plugin like ScriptRunner. (will require some level of programming)
  2. Using JEMH, (I'm not sure about this but this does have lot more feature then standard handler in Jira. https://marketplace.atlassian.com/apps/4832/enterprise-mail-handler-for-jira-jemh?hosting=cloud&tab=overview

 

I hope this helps.

Pye Phyoe Aung September 14, 2020

One mail handler is to send email to create a ticket in MCIX project.

Another mail handler is to send email to create a ticket in MUS project.

That why I created two mail handlers.

DPKJ
Community Champion
September 14, 2020

Now, I need to check on this.

Like Pye Phyoe Aung likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events