I used the Teamgantt plugin to create a roadmap from Trello. I've been trying to disable and reset the plugin but it's left disconnected attachments in Trello on my cards.
Anyone know of a way to bulk delete them? Otherwise I've got to manually delete from more than 150 cards to reset Teamgantt :-(
@Jamie Hi Jamie, you'd need to do this using the API. In Trellinator, the code would look like this:
new Trellinator().boards("My Board").cards().each(function(card)
You can see how to install and run this code using the Trellinator setup guide:
Whether or not figuring this out will be faster than manually deleting the attachments will depend on how many attachments you have, but the plus side would be that you'd be able to take advantage of simpler API automations in future too :)
@Jamie you'd need to do something like:
where .*pattern.* is some regular expression matching attachments you want to delete. They all show up as links in the Trello API, but with the original file names so for example you could delete all PDF files with:
Hi, team, Whether you've been hanging out here in the Trello collection for awhile, or whether you're just now joining us from the Trello Slack Community, we’ve got some exciting news about th...
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