Jira,组件特定的传出电子邮件地址
我在使用最新的 Jira (4.3.4) 时遇到一些问题。在此版本中,您可以在每个项目中设置特定的发送电子邮件地址。这是一个很棒的功能。但我想更进一步,为每个组件提供一个特定的传出电子邮件地址。为什么?因为我们在一个项目中提供支持,并且每个不同的支持客户都有自己的代表他们的组件。
每个支持客户都有自己的电子邮件地址,例如 support-customer@*.*。我们希望他们向此地址发送电子邮件。但 Jira 系统目前的工作方式是从无回复地址发送电子邮件。项目特定地址也无法做到这一点。那是因为我们有一个 mailerdaemon,其任务是将主题修改为 JEMH(Jira Extentable Mail Handler)有效主题。该邮件守护程序检查“收件人:”地址以添加正确的组件。这非常有效,每个问题都会获得其特定的组件。
想要的场景。 客户电子邮件地址:客户@*.*。 Mailerdaemon 接收邮件并格式化主题。 JEMH 阅读格式化的电子邮件并创建问题。 Jira 通过电子邮件向客户表明问题是使用发件人创建的:support-customer@*.*。
与评论相同等等。
I have some problem with the latest Jira (4.3.4). In this version you can set a specific outgoing email address in every project. That's a great feature. But I want to go even further and give every component a specific outgoing email address to. Why? Because we have our Support in one project and every different support customer has their own component representing them.
Every support customer have their own email address ex, support-customer@*.*. It is to this address we want them to email. But the Jira system as it works right now emails from a no-reply address. And a project specific address wouldn't do it either. Thats because we have a mailerdaemon which task is to modify the subject to JEMH (Jira Extentable Mail Handler) valid subjects. That mailerdaemon checks the To: address to add the right component.This works great and every issue gets their specific component.
Wanted scenario.
customer emails to address support-customer@*.*. Mailerdaemon picks the mail up and formats the subject. JEMH read the formatted email and creates the issue. Jira emails the customer that the issue is created using From: support-customer@*.*.
Same as commented and so on.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一种可能的方法是创建一个特定的侦听器,该侦听器向组件负责人发送邮件。
一种方法是使用脚本运行程序
查看示例脚本来构建电子邮件
https://studio.plugins.atlassian.com/wiki /display/GRV/Post+Functions#PostFunctions-SendEmailWhenBlockerReported
检索组件线索的逻辑是简单明了。还可以从组件主管那里获取电子邮件地址。
侦听器只会对“my-create-event”起作用。 my-create-event 包含在工作流创建转换中...
Francis
A potential approach would be to create a specific listener which sends a mail to the component lead.
An approach is using the script runner
Check out the example script to construct the email
https://studio.plugins.atlassian.com/wiki/display/GRV/Post+Functions#PostFunctions-SendEmailWhenBlockerReported
Logic to retrieve the component lead is straightforward. Getting the email address from the component lead also.
The listener would only act on 'my-create-event'. the my-create-event is included in the workflow create transition ...
Francis