I'm trying to set up a trigger that will fire when ever a card in two specific lists on a board reach their due dates. My command is as follows:
the moment a card in list "IN PROGRESS" in list "IN REVIEW" is due, get url "random.url/goeshere", and move the due date to the same day next week
But it doesn't fire when my test cards reaches their due time. I've tried with only filtering a single list, but that didn't seem to help.
Can anybody spot something wrong with the command? Is there some delay on these triggers?
Update: I got it!
I'm still not sure how the internals of the butler trigger system works, but I've found a solution for my problem. I'm using a very simple trigger now, and this one actually fires!
on the day a card is due at 5:00 am, get url "random.url/goeshere", and move the due date to the same day next week
This makes the trigger go off at 5:00 am for all cards that are due on that day. I've dropped the filter on lists, and instead opted to just remove the due dates on cards when they are done.
@[deleted] Glad you got it working. I was just looking at this issue in Butler for Trello support https://trello.com/c/2og1tx4a Looks like it may have something to do with what you were encountering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted]
Butler uses an AND condition as apposed to an OR or AND/OR.
You'll have to create two rules. One for each list.
You may be able to find a little more insight into the issue in this string.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jonny Adams and thanks for answering :) I had no luck by just using one list in the trigger, when I tested yesterday, but I'll give it another go.
Can you confirm that a rule like this would work as expected?
the moment a card in list "IN PROGRESS" is due, get url "random.url/goeshere", and move the due date to the same day next week
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe the right trigger is:
when the due date is marked as incomplete in a card due today in list "IN PROGRESS" by anyone
The "move due date" is straightforward. Does that element work? Try removing the "get url" action and trigger it.
Just to verify, are you on a paid plan? If not, then "get url" won't work.
What are you doing with the url once you've got it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yep, let's take it from the top: My goal is to trigger an event once a week, for all the cards in the two lists mentioned in the original post.
Each card should issue the GET request. The request is sent to our internal server and is used to handle internal administration stuff.
Initially I would like to use the Calendar triggers, but I didn't succeed in finding an option for running through each card in the respective lists.
That's why my plan now is to use Due Date triggers, like the command I've posted here.
We're on a paid plan and use the http request feature for a couple of things. It's a bit like a mini API between Trello and our own software :)
I'll try your suggestion with incomplete due date and get back to you.
EDIT: Second thoughts:
when the due date is marked as incomplete
Sounds like the event that happens when I manuelly untick the due date box? Or does is also run when the due date time is reached?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again Johny. I'm still having no luck unfortunately. I've tried setting up a trigger as per your suggestion like so:
when the due date is marked as incomplete in a card due today, post comment "triggered 'when the due date is marked as incomplete in a card due today' - postponing due date by one minute"
But it never triggers. Not when a card's due date (and time) is reached, nor when I manually mark the card as complete then incomplete. It does seem to register when I make changes on the cards though, as it triggers a log statement saying "Requesting card to check trigger condition(s)."
Then I've tried a more generic version of the first trigger one like this:
the moment a card is due, post comment "triggered 'the moment a card is due'! moving due date by one minute!", and move the due date by 1 minutes
But that never triggers either and the rule's log just says "I'm tracking 0 cards with due dates on this board. New due dates or changes to existing due dates will be tracked automatically." - even though I've added a bunch of cards and due dates after the rule has been enabled.
I'm trucking on over here, but am looking forward to hearing your thoughts :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!
Join an Atlassian Community Event!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.