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
Community Members
Community Events
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

0 votes
Hannah Morgan Community Leader 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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,399 views 28 41
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you