how do I enter variables in butler command builder?
Asked by tony lamedoz:

I can see a lot of example online where butler commands are written as free text when people explain how to solve a particular problem with butler. however, i cant find how to copy and past a free text on butler powerup, I can only use the command builder.

My main problem is that i cant seem to find how to include variables in a command using the command builder. I cant also write a free text command elsewhere and then copy and past in butler to solve the problem.  
can you advice on how i can add variables when using butler command builder.

this is what i am tryin to achieve:  
when a card in list "Ready for Investigation" is moved out of list "Ready for Investigation" by anyone except ++"{addedusername}"++ , move the card to the bottom of list "Ready for Investigation"  

but i while using command builder i cant add a variable for the name. I can only select a predefined name at buildtime.


Answers:
author: Esme Crutchley
body: Hi [@tony lamedoz](/t5/user/viewprofilepage/user-id/3901299)

Welcome to the Community!

You can add extra bits to the command builder, although I agree it's not well written, or explained detailing how this can be achieved.

Whenever there is a text box that says something like 'Field Name' when you click on it, there might be options given in a drop down, but you can add what you want in there as well, you don't have to pick from what is suggested. It's not explained very well, but just because there is a drop down, doesn't mean that these are the only options available

This is how I would solve your issue:

![Screenshot 2020-05-04 at 13.39.12.png](https://community.atlassian.com/t5/image/serverpage/image-id/93317i721D5707301AC0C6/image-size/large?v=v2&px=999 "Screenshot 2020-05-04 at 13.39.12.png")

That's how I would create the first part (trigger).

Then I would create the action:

![Screenshot 2020-05-04 at 13.39.41.png](https://community.atlassian.com/t5/image/serverpage/image-id/93318iD9F5D8F3868E583A/image-size/large?v=v2&px=999 "Screenshot 2020-05-04 at 13.39.41.png")

Does this help at all?

Esme :)

comments: author: Esme Crutchley
body: Sorry, another bit!

![Screenshot 2020-05-04 at 13.53.40.png](https://community.atlassian.com/t5/image/serverpage/image-id/93319i8B3C32A1DE0FEB09/image-size/large?v=v2&px=999 "Screenshot 2020-05-04 at 13.53.40.png")So that comes up with the members of the board - so logically you'd think that was the only option, but you can copy \& paste into that box:

![Screenshot 2020-05-04 at 13.54.57.png](https://community.atlassian.com/t5/image/serverpage/image-id/93320i3844EEFD26D94B05/image-size/large?v=v2&px=999 "Screenshot 2020-05-04 at 13.54.57.png")And get the result that you want.

I'm assuming that it's to stop anyone but the card creator being able to move the card? This would do it, because it would only allow the person who created the card in the first place, to be able to move the card out of the list.

Esme :)


author: Esme Crutchley
body: Sorry, me again!

If you wanted to stop anyone being able to move the card except the person who created it, the variable you'd need is {creatorusername}


author: tony lamedoz
body: Thank you so much, very helpful. You understood the problem i was trying to solve. This solved it.


author: Esme Crutchley
body: Woohoo! That's awesome!

Has that helped?

If it has, could you accept the answer so that other Community members know that this works?

Don't be a stranger!


author: Sanju Rock
body: thank you problem has been solved. I can understand [nirvam](https://nirvamchat.com/) that issue and easily solved.


Tags: butler

variable