Jira 自动化 - 在评论中提及用户

问题描述 投票:0回答:1

我正在 Jira 中进行一些自动化操作。

我正在向卡片添加这样的评论 “用户名于2023年7月20日批准了MTP”

但是,用户名是以文本形式输入的。我希望将其添加为 jira 中用户的@提及。 我在这里找到信息:https://community.atlassian.com/t5/Jira-Software-questions/Mention-users-in-automation-comment/qaq-p/1515480 使用这样的东西: [~accountid:{{issue.assignee.accountId}}] 但它不起作用。

这是我在自动化规则中添加的注释

Test comment by {{initiator.displayName}} on {{now}}
email : {{initiator.emailAddress}}

AccountId : [~accountid:{{initiator.accountId}}]

这是卡片中出现的评论

Test comment by User name on 2023-07-25T18:40:28.6-0500 email :
[email protected] AccountId : [~accountid:JIRAUSER116036]

有谁知道如何在自动规则的评论中标记/提及用户? 谢谢

automation jira
1个回答
0
投票

你能试试这个吗:

Test comment by {{initiator.displayName}} on {{now}}
email : {{initiator.emailAddress}}

AccountId : [~{{initiator}}]

它对我有用。

© www.soinside.com 2019 - 2024. All rights reserved.