Forums

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

Jira Software <Server> - Disable deleteEmail in default incoming MailHandler.

LuLu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 18, 2018

 

Hi bro & sis , 

I'm a newbie on JIRA . Would like to seek for your kind guidance on how to configure/customize jira default mail handler ?  I tried a lot of method to customize by using third party addon / SDK . But still fail to configure what i need.   

 

Thing i need :

Disable the default deleteEmail function.

when handler process from email , return something like mark as read(or even do nothing) instead of deleting the whole email.

Then :

if  issue.key !~ subject  , //  Subject :  Example of mail subject : SP-123

Create new issue ; 

"SP" ,  // project

"Task" , // type

"mailSubject" , // summary || description

"Reporter", //mailSender -  Sent : xxxxxx@gmail.com

"Labels" , //issue.labels as assignee ( Current Labels list :   Apple , Orange , Grape , Papaya )

        if Labels set as Apple , assignee as "King Kong - User in Jira Directory "

        if Labels set as Orange , assignee as " Popeye - User in Jira Directory "

        if Labels set as new fruit(not in labels) , assignee as unassigned - default. 

 

Comment on issue ;  // if SP-123 found in Subject / mailBody 

Add only the current/latest email into the issue Comment . ( Not the entire email for each comment ) 

~ Something like

From: Popeye < popeye@gmail.com >

To: King Kong < kingkong@gmail.com >

Sent: Nov 17, 2018, 7:51 PM

Subject: Fruit Mania Promotion : SP-123

 

Hi King Kong ,

Let party .

 

Regards,

Popeye

 



Much appreciate if any pro/expert may guide me to configure/create such mail handler.
Try to create new handler using atlas-create-jira-plugin - but shown proxy error . Even though i had configure the setting.xml. Tried to link Github with DVCS , but jira show unable to connect to github even though i use the correct secret key. Tried to use default mailhandler , it can create new issue , but even SP-123 inside the subject , it still create a duplicated issue with same subject . 

 

 

1 answer

0 votes
Tinker Fadoua
Community Champion
November 18, 2018

@LuLu

There isn't a lot you can do with JIRA default Mail Handler. If you want to customize templates per projects or customers you will have to use an App.

Not advertising for any company here the one I used in the past is JEMH.

Best,

LuLu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 18, 2018

Thanks for your feedback. Actually previously i tried on JEMH trial .  But the licensing part quite surprised me . For my cases , I think i still under level to get JEMH yet based on my requirement.

Suggest an answer

Log in or Sign up to answer