I'm using an automation to copy comments from one issue to another. Whenever this runs it makes me the author of the new comment.
Can I make it so the original comment author is the new comment's author?
From what I understand you can't really with the native automation, the "author" of the comment is likely coming from the "Actor" you see under "Rule details". Otherwise you'd be able to fake what people say which becomes a governance risk.
The best I think you have is "User who triggered the event" so that user would have to do it I think?
The only way I can think of around this is if you do some CSV upload tricks to upload a comment into a ticket with it aligning to the correct user.
Easiest way however would be to use a "System" account or "Automation for Jira" account so users know it was placed there by a bot/automation and not you. And maybe include the author as part of the comment.
Thank you. Yes, I see the "Actor" selection for the rule trigger and it's greyed out and set to me. That would explain it.
Shame there's not an option for that to be "triggered.user" or something.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mike , if its greyed out its likely either on cloud you are a project admin and not the Jira admin.
Or for Data Centre (which apologies I didn't realize you are on data center which gives you different options) you need to add your account (or your admin group) into the permission to allow impersonating in Automation 4 Jira
See the "Enable rule actor impersonation" in the following link:
https://confluence.atlassian.com/automation/restrict-rule-actor-impersonators-1360661244.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @mike
My understanding is it is not possible to create comments on behalf of another user with an automation rule action or the REST API endpoints.
I believe for Jira Cloud, the workaround is to create a separate Forge application which does support this capability.
Kind regards,
Bill
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.