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

Is there a way to detect duplicate cards?

Dear Trello User,

we need a Tool for Trello that recognizes duplicate Cards. The tool should recognize while I'm writing that this card exists already. Is there an add on or a trick?

Thank you very much and have a sunny day!

Andrea

1 answer

1 vote
Iain Dooley Community Leader Feb 14, 2019

@Andrea what constitutes duplication? having the same title, same description, some portion of the title matching ... ?

Thank you for responding, Iain!

Having the same card title. It should be like that:

I create a new card and I start writing Iain Dooley and there is an automatic completion so I know, stop, we already have this card. Something like that :)

Sure, I could make a search, but that costs too much time. Any ideas?

Have a sunny day

Andrea

Iain Dooley Community Leader Feb 15, 2019

@Andrea hmm I can't see any existing chrome extensions or powerups that would do this while you were typing, but here's a solution in Trellinator that will detect when a duplicate card is created, link to it from the existing card, post a comment informing you of where the existing card is and archive the duplicate:

https://gist.github.com/iaindooley/20a4f27a841aa94673c7ffad5bd026c1

You can see how to setup/install Trellinator here:

https://community.atlassian.com/t5/Marketplace-Apps-articles/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271

Thank you for helping, Iain! One of these days, when I have the courage to try this procedure I will install the Trellinator. And it is very likely that something happens I don't understand. I will tell :)

Cheers Andrea

Like Iain Dooley likes this

Hi Iain!

Trellinator seems to be exactly what I've been looking for to remove duplicate cards that are created by the email-to-board feature.

I've set-up Trellinator as per your instructions above and have copied the detectDuplicates code into Commands.gs. When I attempt to run the detectDuplicates function I receive this error:

TypeError: Cannot read property "action" from undefined. (line 1127, file "apps/trellinator-libs/Notification")

I know it's a bit of a long shot but do you know what could be causing this error?

Thanks mate!

Iain Dooley Community Leader Jun 10, 2019

@Ian Gray *probably* it's because I've never used email to board with the createdCard() notification type before :)

The default email to board has some problems with attaching comments to existing cards even when they're archived if Trello determines they're part of the same thread (the determination of which appeared to be a bit hit and miss).

My discovery of this (and hence abandoning the email to board feature) long predates Trellinator, and I've since developed Benko Board which obviates the need entirely:

https://trello.com/integrations/#/benkoboard

That said, this is definitely a bug in the code, will take a look and fix it a little later today. You won't have a proper git update/deployment flow because you only copied the spreadsheet so I'll tell you which bit of the code to update in order to get the fix.

Iain Dooley Community Leader Jun 22, 2019

@Ian Gray hey sorry I didn't get to this for so long! Upon closer reading of your post, it appears that you're manually executing the function from the script editor.

What you need to do is put the function name into the function name column of the board on which you want it to execute (or in the Global Commands sheet if you want it to run on all boards).

When a card arrives, that function will be executed and a notification will be passed in. What you're seeing is an error based on the fact that when you manually execute the function, "notification" is undefined.

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,484 views 12 4
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