TLDR;
Is it possible to create a button which has the following command:
copy the card to the next list on the board, and move the card to the top of the list
Detail
In this response, it shows how you can create a button to move:
move the card to the next list on the board, and move the card to the top of the list
It seems I cannot change the move variable to copy.
There is also the option to copy to a specific list, but no option to select the "next list" in the sequence. The below code would ideally work, but {nextlist} is not a valid variable, clearly :)
copy the card to the top of list "{nextlist}"
I am open to automating this in any way possible!
Why?
We use a process where our projects go from list 1 to 2 etc... as they progress. However, the process is not always perfectly linear.
I am aware there is a sub-menu on the card which can create a copy but this would ideally be simplified with a button using butler.
Thank you for any help.
Hello @B M
No, there is no mechanism in Trello that Butler could use to know what list is 'next', 'previous' or otherwise. Lists are not sequential in any particular way, so you can only reference lists in Butler by their name.
However, you could do it by naming your list with a number prefix, using a custom number field to store that number, then using some mathematics and wildcards in the rule.
The complete rule would be:
set custom field "List#" to "{{%List#}} + 1", and copy the card to the top of list "{{%List#}}. {*}"
So, each time the rule is triggered, the number in the List# field would be incremented by one, then the card would be copied to the list with the name that started with that new number, followed by a period and a space, followed by any wild run of text until the end of the name.
Works like a charm, but it would be a bit fragile, since you can't stop people from tampering with the List# field or moving a card manually to another list with a name that starts with a number that is different to the number contained in the List# field.
@B M You can automate this with BenkoBot!
Here's a command, you will get the chance to review the code before installing it in your board after you enter your api key/token:
This is triggering based on adding a label "Ready", you can change the label name at the top of the code.
If you still wanted this to trigger from a Butler button, you could make your button add the Ready label... the label is removed prior to copying to the next list.
You can see other examples of BenkoBot commands on that board, too... I'm in the process of translating the old Butler Bot examples from their public Trello board into BenkoBot install links so you can get an idea of how it works :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.