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,560,415
Community Members
 
Community Events
185
Community Groups

Set the last user {{initiator}} as the value for a User attribute of an Object with automation?

Hi Community!

I´m trying to set up an automation that sets the last Updater of an Object as the value of an "Assigned User" User type attribute in Assets Cloud.

In Jira, this would work with the {{initiator}} smart value, but that does not seem to be the case for the "Edit Object Attribute" action. {{initiator.accountId}} does not work either, they return this error: Error updating Object(s).

The User should come straight from the Jira Directory, not another Object. If I set a fix accountId, that works, but obviously not an option for this use case.

I also tried to create a smart value with the "Set Variable" action, to get the {{initiator.accountId}} but that did not work either.

Does anyone know a workaround to get the accountId (preferably without a Web Request), or could point out something I missed? Would greatly appreciate the help!

2 answers

1 accepted

0 votes
Answer accepted

Found a workaround with a web request.

The only smart value I managed to insert in the field was {{rule.actor}}. This can set the User field to "Automation for Jira".

Screenshot 2023-05-05 113207.png


So, cheekily I tried changing the Actor to "User who triggered this event", but then the rule stopped triggering at all. I should have full admin access so that should work at least with my account. Really feels like this feature is just blocked for some reason.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events