删除评论操作会从指定的 Jira 问题中删除评论,并返回删除状态。
概览
The authenticated user can delete the comment only if the comment does not have visibility restrictions.
注: Ensure that you add and configure the Connect action before proceeding with configuring the Update project action as Connect action provides the authentication context for the automation session.
设置
- 会话
- Specifies Jira session that the Connect action creates. 会话名称用作该操作的身份验证上下文。 根据连接操作设置选择以下选项之一:
- 会话名称: 选择存储会话名称的字符串变量,或在文本框中手动输入会话名称。
- 变量: 选择包含会话名称的 Jira 会话变量。
- 问题密钥
- Specifies the Jira issue key from which the action deletes the comment. For example, PROJ-123.
- 评论 ID
- Specifies the ID of the comment to delete.
- 将输出分配给变量
- 指定用于存储删除状态的布尔值变量。 如果删除成功,值为
true;如果删除失败,值为false。