Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Butler rule to copy new assigned due date to copied card does not work Edited

I have the following butler rule:

when a due date is set on a card with custom field "Roadmap" checked, find a card titled "{cardname}" on board "Tape Interop Roadmap", move the due date by the same amount of time, and move the card to the top of list "{triggercardduedatequarternumber}Q{triggercardduedateyear}" on board "Tape Interop Roadmap"

The problem is that if the card does not already have a due date assigned (i.e. I'm adding the due date after the copy to the other board), the date is not updated on the copied card.

I'm looking for an option in butler to use the {triggercardduedate} variable.
Any suggestions?

2 answers

I've yet to find a way to set an arbitrary due date via Butler :(

That said, you could make an "Add New Due Date" Card Button that makes both cards due tomorrow.

Then modify your existing rule so it only triggers when you move a due date (instead of set).

It'll be janky though, as setting the due date normally would break the system...

That said, if you are doing card mirroring, have you looked in to powerups like Unito? I've never used it myself, but it specifically does card mirroring, so perhaps it could solve the due date portion of your problem

I did look at Unito, but this was so overloaded for my simple case.  Also, it seemed to not be allowed by my company, so I was not able to install and try.

@Carla Ruhl sorry I have to ask as I have not use Butler enough and no quota left. In fact I am looking out for what Butler cannot easily do to build a list add-on via HTTP REQUEST “as a service” Are you saying that the due date of the originating card is not available when using the FIND?

It would be easily to add as you would still have {triggercardidlong} and put that in the {httpresponse.triggercardduedate}. The unknown would be format Butler need of the date. 

Retrieving due date is easy enough with Butler variables.

The limitation is in setting a due date to an arbitrary number. Butler only allows things like "Tomorrow", or "the 2nd Friday of Next Month" etc. You cannot set it to {triggercardduedate} or {foundcardduedate} etc.

Like Carla Ruhl likes this

Given @Vongsawat  reply and programming with dates in Trello, it likely that my add on will have add the date for the user instead. In python, to update the date in Trello I have to pass a datetime object and not a string. 

@Carla Ruhl @Vongsawat using my Butler add on I can effect the transfer of due date from one card to another. In the example below it is from the trigger card to the found using a Lookup. If it is Find it will just be {cardidlong}. I am unable to test it on Butler because of quota issue but the http request and return is proven. The return date field is actually not required but provided to give some assurance of change done.

 

{"from_card_id" : "{triggercardidlong}", "to_card_id" : "{foundcardidlong}" }

Superhero Power Output:

{"due_date": "2020-08-26 04:45:00+00:00"}

@Vongsawat, why not allow the use of {triggercardduedate} or {foundcardduedate} ?  This should be a highly used variable and would be an enhancement to butler.

@Carla Ruhl 

? As I said, those are existing variables that you can certainly use, yes. They are listed in the Variables help page even.

The limitation is the Set Due Date command, not the variable.

Like SGi Admin likes this

Suggest an answer

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

📹 What is Trello?

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...

781 views 13 30
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