在 JIRA 问题跟踪器中,在更改时向自定义用户字段发送电子邮件吗?

发布于 2024-11-29 06:07:44 字数 290 浏览 1 评论 0 原文

我们在 JIRA 中有自定义用户字段(即“业务分析师”、“开发人员”等),并且我们希望在这些用户被分配到其中一个字段时能够向这些用户发送电子邮件。我查看了 JIRA wiki,但找不到方法来做到这一点。

我知道这可以通过“问题分配”事件来实现,但在这种情况下,JIRA 不会被分配,因为我们使用的是自定义字段。

这有可能吗?

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.

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.

Is this at all possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

南七夏 2024-12-06 06:07:44

这个插件:通过电子邮件发送此问题应该是您正在寻找什么(向自定义字段发送电子邮件)。

通过电子邮件将问题从 JIRA 发送给任意收件人 - 此插件
解决了此功能请求,满足了大量需求
(目前为 30)用户投票。

该插件包含一个问题操作组件,允许用户
撰写电子邮件并将问题发送给任意收件人。

最重要的功能是:

  1. 将包含问题详细信息的电子邮件发送到外部电子邮件地址
    吉拉,
    受让人、报告者和观察者。
  2. 将问题附件附加到电子邮件
  3. 控制谁可以调用操作
    通过项目角色
  4. 文本和 html 电子邮件格式是
    支持,电子邮件正文理解
    Confluence wiki 标记
  5. 可以根据项目和问题类型自定义电子邮件模板
  6. 创建评论
    反映发送电子邮件的事件
    (正文、收件人等) - 参见下文
  7. 支持 i18n,该插件可以翻译,目前已
    提供英语、德语、法语、波兰语、意大利语和匈牙利语版本。
  8. 您可以选择“抄送给我”等选项
    和“回复
    我”以接收电子邮件副本或接收回复
    电子邮件。
  9. < li>电子邮件收件人按需添加到观察者
  10. 来自自定义字段的收件人以及
    可以添加组/项目角色
  11. 电子邮件选项可以
    重复使用,即不需要检查所有
    每次发送电子邮件时的选项
  12. 通过配置文件配置电子邮件选项的默认值

This plugin: Email This Issue should be what you are looking for (sending email to custom fields).

Email an issue from JIRA to arbitrary recipients - This plugin
addresses this feature request fulfilling considerable amount
(currently 30) of user votes.

The plugin contains an issue operation component that allows users to
compose an email and send the issue to arbitrary recipients.

Most important features are:

  1. send email with issue details to email addresses outside
    JIRA,
    assignee, reporter and watchers.
  2. attach issue attachments to email
  3. control who can invoke the operation
    through a project role
  4. text and html email format are
    supported, email body understands
    Confluence wiki markup
  5. email template can be customized per project and issue type
  6. a comment is created
    reflecting the event of sending an email
    (body, recipients, etc) - see below
  7. i18n-enabled, the plugin can be translated, it is currently
    available in English, German, French, Polish, Italian and Hungarian.
  8. you have options like "CC to me"
    and "Reply to
    me" to receive a copy of the email or to receive replies to
    the email.
  9. < li>email recipients are added to watchers on demand
  10. recipients from custom fields and
    groups/project roles can be added
  11. email options may be
    reused, i.e. there is no need to check all
    your options every time you send an email
  12. configure default values for email options via configuration file
北城半夏 2024-12-06 06:07:44

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

但您确实必须抓住两个用例——作为工作流程转换的后期功能和作为普通编辑。这个插件可以让你做到这两点。我通常只是担心在工作流程中第一次需要这些字段时处理这些事情,并在后期功能中处理它。

这个插件彻底改变了 JIRA 对我来说的力量。我可以快速动态更改脚本,而无需重新编译或重新启动 JIRA。你必须检查一下。

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.

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文