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 .