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,559,031
Community Members
 
Community Events
184
Community Groups

How to get an username that triggered a Butler command which opens a new card

I have created a Butler command that automatically converts items to cards when they are added to the checklist. I want to record the user who added the item as the creator of the newly created card.
In order to do this, I am using the {username} variable and setting it to a custom field, but I am getting the username of the user who created the Butler rule.
I understand that the creator of the rule is the one who executes the command, but isn't that different from the user who triggered the command? How can I get the user who triggered the command?

The rule is:

When an item is added to checklist "Child-cards", convert the item to a linked card, and set custom field "Creator" to "{username}"

1 answer

1 vote
Hannah Morgan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 15, 2022

Hi @M.Ito ! According to this doc, {username} is the person who triggers the command as you said. I tested it out on my end, and the custom field is always populated with the person who triggered the command, not the user who set up the rule. It's strange how you're experiencing a different result 🤔 what type of custom field are you using?

Hi @Hannah Morgan thanks for testing!
The custom field type is "Text".
I am also getting the user who triggered the command with {username} in other commands without any problem. So I am very puzzled with this result.

I am also experiencing something similar for a rule we want to show who triggered the command. When I trigger it, the rule works well. When another team member triggers it (person A), the result shows a different team member (person B) as the person who triggered it. Can you please help us solve this? Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events