You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi there,
My business has recently developed a sort of subscription service where people can pay monthly fees to get a selection of benefits along with either 1 or 2 visits per month depending on the package they selected.
What I'm looking for on Trello is a way to have cards with the yellow label (signifying that they're a member of the program) to increase a custom field by 1 (or 2, depending on the label) every month on the first of the month when the payments come out.
So ultimately I'm looking for a way to make a rule that states "On the first of every month, increase the custom field "number of sessions available" by 1 on cards with the yellow subscription label"
It doesn't seem on my end that this is possible in Butler, but I don't understand why. Is there any plans to adjust Butler to allow for these kind of automations or is there a power-up I can use to make this happen instead?
@Front Desk You can do this by using a due date command instead of a calendar command like this:
the moment a card with a yellow label is due, increase the number in custom field "Number of Sessions Available" by 1, and move the due date to the same day next month
We use due dates on cards to track outreach and there are several other automations that prompt a due date already, so this won't work for me.
Thank you, though!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Front Desk Hmm okay well you could set up a recurring function in Trellinator, it's a little more complicated though.
This function would do it:
https://gist.github.com/iaindooley/85f9fc50fb639320e2d6c0d6442591af
Note that it puts a 2 second pause with each increment to avoid hitting Trello's API rate limit (custom fields are quite API call heavy).
To set it up you'd first have to set up Trellinator:
Then when you install the function you use the "Time Trigger" dropdown instead of just pasting in the function name.
Like I said, a little tricky but once it's set up it'll run every month and increment your card values without having to interfere with existing due date automations.
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.
Did this simple test see how to use a report variable together with a Butler HTTP Request
create a report in variable "ycard" with all cards with the yellow label using pattern "[{cardname}]({cardlink}) - {cardidlong}", and post to url "https://28084.wayscript.io/mailchimp/webhook" with payload "{ \"ycard\" : \"{$ycard}\")"
Below is the json received at the end point (just used an existing one). It does mean, with a better ycard pattern I can then passed it to a module that will use the card id to update the CF for each of the cards or
{ "ycard" : "[Checklist Item 1](https://trello.com/c/V6A07wxl) - 5f56118......264726\n[Checklist Item 2](https://trello.com/c/GtOyG59k) - 5f56131.....d6930b\n[Checklist Item 3](https://trello.com/c/Rijhlhri) - 5f5611.....33e95c05\n")
I could return as httpresponse.something that Butler can continue work to update the CF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's a demo of the above implementation. The report variable is just {cardidlong} and I added in the payload the custom field name.
create a report in variable "rep_list_card_ids" with all cards with the yellow label using pattern "{cardidlong}", and post to url "https://25368.wayscript.io/butler/?registry=5f216a81.....6&module=5f5d92b5.......2bb3b8" with payload "{ \"rep_list_card_ids\" : \"{$rep_list_card_ids}\" , \"cf_name\" : \"Number\" }"
The only additional code to handle the report variable is
card_ids = para['rep_list_card_ids'].split("\n")
card_ids.pop() #remove last element
The rest of the coding of module remains pretty much the same.
This new approach opens up new ways to enhance your Butler experience.
(my apologies - my video production need much improvement)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Community! My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.