On Jira Cloud / JSM, currently for a particular Service Mgmt project we change the visibility of all comments to "Share with customer" for transparency. This is done via this rule:
However every time this rule runs, it also shows duplicate comment in the e-mail notifications.
Is there a way I can do this, perhaps via the API, without triggering the duplicate comment in the e-mail notification?
There are no checkboxes for this, because I'm not editing the issue.
Best regards,
James
I'm not sure if I really understand your ask here. Do you not want to be notified when Automation for Jira edits the comment?
Moreover, the comment isn't being duplicated. It's being edited, which is the correct intended behavior as per your automation rule.
[...] because I'm not editing the issue.
Correct, you're not editing the issue, but Automation for Jira, the actor of the rule, is editing (the last comment) as per the configured rule.
I would also add an advanced compare condition where the rule would only run and update the visibility of the comment to external/public if it detects that a user has made an internal comment. The advanced compare condition would look something like:
{{comment.internal}} = true
Yes I understand the comment isn't being duplicated, but it's shown twice in the notification, this comment edit action should be silent. Under edit issue automation, this is a controllable option:
It appears the silent option isn't available for edit comment action.
Adding an advanced compare condition is a good idea, I will do that.
Regards,
James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just want to confirm that you are asking to prevent the notification email from going out? Am I right?
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Joseph Chung Yin ,
No, I want the notification but I don't want there to be the part that Automation for Jira edited the comment. Is this possible?
Thank you,
James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, I don't it is possible since it is an action done against the existing Comment which it is an auditing event in the issue.
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.