在JIRA问题跟踪器中,将更改后的电子邮件发送到自定义用户字段? [英] Send email to custom user field on change, in JIRA issue tracker?

查看:122
本文介绍了在JIRA问题跟踪器中,将更改后的电子邮件发送到自定义用户字段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在JIRA中具有自定义用户字段(即业务分析师",开发人员"等),并且我们希望能够在将这些用户分配给其中一个用户时向他们发送电子邮件.我查看了 JIRA Wiki ,但找不到做到这一点的方法.

We have custom user fields (ie 'Business Analyst', 'Developer', etc.) in JIRA, and we would like to be able to send an email to those users when they are assigned to one of those fields. I have looked over the JIRA wiki, and could not find a way to do this.

我知道可以通过已分配问题"事件来实现,但是在这种情况下,由于我们正在使用自定义字段,因此未分配JIRA.

I know this is possible with the 'Issue Assigned' event, but in this case, the JIRA is not being assigned, since we are using custom fields.

这有可能吗?

推荐答案

您应该看一下JIRA Scripting Suite插件---您可以轻松地执行类似的操作,实际上,它们提供了一个示例脚本,向您展示了如何发送自定义电子邮件( https://studio.plugins.atlassian.com /wiki/display/JSS/Scripting + Samples ).

You should look at the JIRA Scripting Suite plugin --- you can easily do something like that, and in fact, they provide a sample script that shows you how to send a custom email (https://studio.plugins.atlassian.com/wiki/display/JSS/Scripting+Samples).

但是您必须捕获两个用例-作为工作流过渡的后功能和简单的编辑.这个插件可以让你做到这两个.我通常只担心在工作流中第一次需要这些字段的时候处理这​​些事情,然后在后期处理中处理它.

But you do have to catch two use cases --- as a post-function to a workflow transition and as a plain edit. This plugin allows you to do both of those. I typically just worry about handling those things at the point in the workflow in which those fields are required for the first time, and handle it in a post-function.

此插件为我彻底改变了JIRA的功能.我可以快速更改脚本,而无需重新编译或重新启动JIRA.您必须检查出来.

This plugin completely changed the power of JIRA for me. I can quickly change scripts on the fly without recompiling or restarting JIRA. You must check it out.

这篇关于在JIRA问题跟踪器中,将更改后的电子邮件发送到自定义用户字段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆