It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Using Custom Field as date increment in Butler card button

I want to set up a card button that can, among other things, add an increment to the current due date of the card, where different cards have different increments. Common increment values for me would likely be 1, 2, 7, and 30. Hopefully you get the idea.

I expected to be able to use a custom field {{%Date Increment}}, where the Custom Field pop-up would nicely display the increment for me, so I wouldn't accidentally apply it to a card which doesn't have the "Date Increment" variable set. Based on and example in the Trello help on "variables":

when a card is moved to list "Done" by anyone, add member @{{%Tester}} to the card, and post comment "@card Task with priority {{%Priority}} was completed and is ready for testing.",

I expected to be able to say "move the due date by {{%Date Increment}} days", but that doesn't work. Is this another example of Trello catching up with Butler, or is the Custom Field pop-up not as integrated as I understood from the help text, or have I just done it wrong?

2 answers

1 accepted

0 votes
Answer accepted
Iain Dooley Community Leader Jun 22, 2019

@Rudy Ramsey You could do this by adding multiple commands that filter based on label, ie.

when a card with label "7 days" is moved to list "Whatever" move due date by 7 days

You'll be able to see which cards have which increment by the label. You'll need the paid version in order to create multiple versions

Thanks, Iain. That does work well, though I begrudge it the rules clutter and label clutter (so far, I have six of each, and may need to handle more intervals in the future on my 14 boards). Still, it allows a single-op solution to a complex series of actions, and I've implemented it. Thanks for the suggestion.

I'm not going to "Accept" this answer at the moment, though, as I would really like to understand what prevented the Custom Field solution. That's less about this specific need, which you've addressed tolerably well, than about understanding how to use Custom Fields in general, as this certainly isn't their only use.

Rudy, did you ever find an acceptable resolution to this?

I am facing the exact same challenge. While I see that the label-as-a-trigger Iain suggested may help in some circumstances, especially when there is a finite number of options (like 1, 2, 7), it's not very clean for the way I am intending to use this. It seemed that was your reaction as well.

The "move the due date by {{%Date Increment}} days" is exactly what I need too. Better yet if I can do math with custom fields (like {{%field1} - {%field2}}) But I'm not greedy, I'd settle for a simple "move the due date by {{%Date Increment}} days"

It seems as though this would be feasible. Any solution or workaround that you found?

Hi, Stacie.

I did wind up using a variant of Ian's solution, and it works OK for my situation. It still clutters my labels and rules, but function is more important that appearance, and maybe more important than convenience, I guess. I've devoted a color to labels that are about repeating tasks with various intervals. The labels are "Cycle 1", "Cycle 2", "Cycle 3", "Cycle 7", "Cycle 14", "Cycle 28", and "Cycle Mo". (Are you starting to see where the clutter comes from?) I also have just "Cycle", for other intervals, irregular ones, or intervals I can't express quite so easily. This type I have to advance manually.

Then I have a label (different color, which I use for some other action commands, as well), which says "+Cycle". This triggers a rule (separate for each of the intervals) that does the advancing. It does a number of other things, as well, removing Member assignments, removing an "In Work" flag, and removing a connected card on my Dashboard board, but those things have nothing to do with your question.

Clunky and inelegant, but it works. :)

Rudy

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

Develop a new Habit during Lockdown

If you had to thrive a new habit during a lockdown, what would it be? Trello

1,656 views 16 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you