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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,601
Community Members
 
Community Events
176
Community Groups

Automation for JIRA Plug-In - Actor Override

When setting the details for an Automation Rule, it seems the only option for the Actor is to define a JIRA User in advance.

We have a use case where the Automation Rule needs to be dynamically executed under the User Account of the JIRA User whose activity triggered the automation event, rather than by a pre-defined user.

Is it possible to configure Rules using a variable, and if so can anybody share an example?

Many thanks.

1 answer

0 votes
Jack Brickey Community Leader Jan 17, 2023

Hi @Ivor Allchin ,

i’m not sure it’s the same in server, however, in cloud, you can change the actor under the automation rule details. An image of this is provided below. You have the option in the drop down to choose the user who triggered the event.

704DE00B-0681-48ED-9BF2-0B511F0FF88D.jpeg

Thanks @Jack Brickey for the quick response!

Yes, you can change the Actor on Server as you say, but only in advance of running the Rule and the value is hard-coded for every execution.

What we're after is to be able to put a variable value in the Actor field that is populated at runtime e.g. the Rule runs under 'CurrentUser()', for example.

We can't see a way of doing that...

Jack Brickey Community Leader Jan 17, 2023

Ivor, i guess I misunderstood. I thought that you wanted the actor to be set to whomever triggered the rule. Is this not the case? If not please explain which user would be set is the actor? I have added another screenshot that illustrates that you can select"User who triggered the event".

2023-01-17_08-03-28.jpg

Thanks @Jack Brickey - you're correct, that's the use case exactly.

I don't have that option, however - only the option to search for the named user:

Screenshot 2023-01-17 131158.png

Darryl Lee Community Leader Jan 17, 2023

Ugh yeah, this isn't available on Server/Data Center. Bummer. Here's the ticket for it:
https://jira.atlassian.com/browse/JIRAAUTOSERVER-254

Like # people like this

Thanks @Darryl Lee

Shame it's not better news but appreciate the update and the link. 

Like Jack Brickey likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events