Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to change actor of automation to user who comments / user who triggered automation rule.

Ashley Hudson
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.
January 16, 2023

Heya Atlassian Community!

I'm currently facing an issue right now as I currently have 2 JSM projects set up in my environment. Right now, I have an automation rule set up which comments on the linked ticket (as the process right now is that if the internal agent comments, it will check if the internal comment is true or false and adds the trigger issues comment) but with the current set up, whenever the comment is added to the customer it shows as the actor rather than the user who is commenting on the ticket. 

Is there a way to change the actor to the agent who is responding to the customer (via an automation) or is it possible to list a set of users to respond based on who the assignee is on the original ticket? 

I know this is rather convoluted so any help / suggestions would be much appreciated! :D

Kind Regards,

Ashley Hudson

2 answers

2 accepted

3 votes
Answer accepted
Barnali Putatunda
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.
January 16, 2023

Hi Ashley,

If you want to change the automation rule actor, you can do so.

  1. Navigate to the automation list.
    For project automations, go to Project settings > Automation. In a team-managed service project, go to Service project settings > Automation.

    For global automations, go to Jira home > Settings > System > Automation rules
  2. Select the rule you want to update.
  3. Under Actor, use the option as: "User who triggered the event"

actor.jpg



I hope this helps you.

Ashley Hudson
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.
January 19, 2023

Heya @Barnali Putatunda ,

Thankyou for the response! I think for now this workaround will do so thanks so much for the support on this! Hope you have a great week! :)

Kind Regards,

Ashley

Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 12, 2023

Hi @Barnali Putatunda

I'm trying this approach on JSM 4.20.10, but I can't seem to get that option from the Actor list.

Is there any other configuration required to get this to work?

Thank you and Kind regards,

Ram

Like # people like this
1 vote
Answer accepted
Gideon Nolte [Jodocus]
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.
January 16, 2023

Hi @Ashley Hudson

if i get you correctly, you have an internal agent, who comments on a ticket which is linked to a ticket with a customer involved. Now you want to copy comments from the internal ticket to the customer facing ticket without the comment being added by "Automation for Jira", correct? 
Best you can do, is either have a person set as a fixed actor to show as the person commenting or have the agent who wrote the internal comment to show as the author of the customer facing comment, by setting the actor to "User who triggered the event" like this: 

image.png

As you can see, you have to make sure, that the internal agent is also allowed to comment on tickets in the customer facing project.

Hope this helps. Feel free to come back here, if you run into any problems or I misunderstood your setup.

Greetings
Gideon

Ashley Hudson
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.
January 19, 2023

Heya @Gideon Nolte [Jodocus] ,

Thanks so much for the response! This sounds like a great workaround so thanks so much! Hope you have a great rest of your week!

Kind Regards,

Ashley 

Joel Batac February 24, 2023

is this for cloud version only? I don't see this option on my DC version. 

Like # people like this
Marcin Najgebauer February 27, 2023

@Joel Batac In our DC version I also don't have such option in the list :-(

Joel Batac February 27, 2023

looks like it is for cloud only. I wonder if there's a smart value we can use to update the actor to current user. 

Marcin Najgebauer February 27, 2023

In this ticket there is a proposed workaround https://jira.atlassian.com/browse/AUTO-422

but in my case I am not able to use this smart value.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events