Forums

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

Creating issue from email with email handler with multiple projects

Philippe LECOMTE April 18, 2019

Hi,

I'm using the JIRA email handler to generate an issue each time a specific sender sends an email to the predefined jira email address.

This new issue is created in a specific project with a specific type.

... And it's working perfectly !


... BUT ...

Every time anyone replies to a notification by email, an issue is created as the previous "rule". Each handler is executed with no limitation.

I don't manage to limit one mail handler to a specific email "FROM" adress.

Is there any mean to limit a handler to a specific "FROM" email ?

Here is my handlers config :

  1. project=SEL,issuetype=10103,reporteruserkey=Specificuser1,bulk=ignore,createusers=false,senderEmail=Specificuser1@gmail.com,notifyusers=false,ccwatcher=false,ccassignee=false,stripquotes=true
  2. project=SIV,issuetype=10222,reporteruserkey=Specificuser2,bulk=ignore,createusers=false,senderEmail=Specificuser2@gmail.com,notifyusers=false,ccwatcher=false,ccassignee=false,stripquotes=true
  3. createusers=false,senderEmail=no-reply@comutitres.atlassian.net,stripquotes=true,bulk=ignore


Here, i'd like to create a new issue :

  • in SEL Project only when receiving email from this address : "Specificuser1@gmail.com"
  • in SIV Project only when receiving email from this address : "Specificuser2@gmail.com"
  • Not creating any issue but manage comments when any other address is used


Any lead is welcome ! ;)
(but, please, don't say "plugin needed", lol)

 

Regards,

 

Philippe

 

0 answers

Suggest an answer

Log in or Sign up to answer