Hello
I'm having a hard time finding an option to remove attachments using Butler that start with a specific URL. I'm using Butler that copies a card from one board to another. The card in the primary board has PDF attachment that gets auto attached using Zapier hence dynamic URLs are being generated for the attachments. The URLs start with https://trello-attachments.s3.amazonaws.com/abcdefgh/mypdf.pdf where abcdef is a very long and unpredictable aphanumeric character.
Now after the card is copied to another secondary board and linked with the primary card, I wish to remove the PDF attachment from the copied card. Under butler I could find the option to "remove link" under -/+ tab. However, I cannot select the specific attachment nor I can enter wildcard URLs. (https://trello-attachments.s3.amazonaws.com/)
So my question is, there a way to remove attachments in the copied card whose URLs are auto assigned by Trello itself?
@physx Hmm yep I can confirm this behaviour, I also can't remove links based on wildcards. I tested with a file recognised as an attachment and with just a link and neither worked with wildcards.
If you install this Trellinator command on the target board (where the cards are copied to) it'll remove Trello attachments:
https://gist.github.com/iaindooley/741872516f9ff3ab376701488a0c8e89
You can see how to install Trellinator here:
Maybe the Following is related to your problem:
For adding/removing Trello cards using wildcards I found out that the link to the card that you want to ad/remove needs to be entered by Butler with a dash "/" at the end... then it works.
Therefore this rule works for me:
when a comment starting with "https://trello.com/c/{* }" is posted to a card, remove link "https://trello.com/c/{commentwildcard1}/"
While this did NOT work:
when a comment starting with "https://trello.com/c/{* }" is posted to a card, remove link "https://trello.com/c/{commentwildcard1}"
(Does not make sense to me, counterintuitive, but since Butler is to me often counterintuitive I made random tries...)
Best
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.