Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Comment automation comment action author

mike
Contributor
April 23, 2025

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?

2 answers

1 accepted

1 vote
Answer accepted
Calvin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2025

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.

mike
Contributor
April 24, 2025

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.

Calvin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2025

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

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2025

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

Suggest an answer

Log in or Sign up to answer