You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi all,
I'm trying to implement a Butler rule where basically the following happens :
- an checklist item is added
- the item is assigned to a member based on whose name is mentionned in the custom field "Project Initiator"
which means that the custom field is variable. Therefore, instead of creating the rule multiple times (when member A is the project initiatior then assign the item to member A) I wanted to use the variables as mentionned in this post (https://support.atlassian.com/trello/docs/working-with-custom-fields/#custom-field-variables)
So what I tried to do is create the following Butler rule :
- when item XX is added to checklist YY
- assign the item to member @{{%Project Initiator}}
where the project initiator values in the custom field will be the Trello usernames of the members (as I guess there is no other way Trello can match betwwen a full name and a username)
However, when I try to save the rule I get an error saying "CANT_PARSE_COMMAND"
Have you faced a similar problem ? is there something to change in my approach ?
You can find the screenshots for more detail
Had observed the same. Currently, I had to use http request to an endpoint to handle this.
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.
How can I use it to implement the workflow mentionned in my oroginal post ? I have used http requests before on Butler, but not sure how to use your collection for the use case I mentionned
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://github.com/xu2xulim/Superhero/blob/master/Superhero%20on%20deta/Micros/Checklist.md
This is the payload example.
{ "item_name": "An Item on Advanced Checklist", "username": "@any_username", "due": "2022-05-16", "checklist_name": "Advanced Checklist from Zapier", "cardname": "Advanced Checklist from Zapier", "board_id": "5fdd5.........792101e" }
So it depends on your workflow
If your trigger is when you add an item, then the
{ "item_name": "{checklistitemname}", "username": "{{%username}}", "due": "{{%date}}", "checklist_name": "{checklistname}", "cardname": "{cardname}", "board_id": "{boardid}" }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Answering my own question, this was written to create a new card. So it might have to change a bit for your specific use case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just created this but have not test it since I do not have a standard plan. This should be good for when you add an item to a checklist.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tested with this automation. I cannot see the member or due updated because checklist is on free workspace
username format {{%Name}} is @username
Author's note : the link in the sample is provided FYI.
when an item is added to checklist "{*}" in a card with custom fields "Name" and "Date (Text)" completed, post to url "https://hfetwp.deta.dev1/new_item_assign_due?api_key=14a..............21d7&token=be9f...................b4" with payload "{ "card_id": "{cardidlong}", "checklist_name": "{checklistname}", "item_name": "{checklistitemname}", "username": "{{%Name}}", "due": "{{%Date (Text)}}"}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried it on a paid plan board and it does not seem to work. I get this error in Butler logs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@milynnus I found out I was not including the due date in the request and it's a required field. I added that to the rule but I still get the same 422 error
(I put a standard date in a string format as I have another use case to assign date, the most important thing for the rule is to assign the item to members based on the value of the custom field "Project Initiator")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The due date is just a meaningful date field(text) like 2022-06-22. You should be able to get a string format from your program. If you are using a date cf you should be able do it as well.
Try "due": "{{%Required By}~YYYY-MM-DD}"
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.