when moving lists to another board, all of the members assigned to each card disappeared!

I'm not sure what more to say than that.  Any of the tickets where I was a member, I am still a member, but the previous memebership otherwise has been wiped out.  The card history still shows that those people were added to the cards at one point, but no longer.  Is there a way to fix this without manually going into dozens of cards and reassigning members?

1 answer

1 votes

When moving cards across boards, any members that are not on both boards are removed from the cards (because of access permissions). You need to make sure the members are added to the destination board before the move.

Regarding fixing it, adding one or more members to multiple cards can be done with third party automation tools. But if the members are different for each card, then you'll need to use the API to write a program to recover the members and re-add them. I can give you guidance if you want to go down that route.

Hi Oscar,

I faced the same issue. I'm comfortable using Python APIs. But could not figure where do I find data of previous members data?

Any hints would be helpful.


Oscar Triscon Community Champion Sep 05, 2017

Hi Shekhar,

To recover the members from cards already copied, you will need to first find the source card. You can obtain this by issuing this API request:

GET 1/cards/CARD_ID/actions?filter=copyCard

Where CARD_ID is the id of a copied card.

This will return an array of actions, which should only contain one object. This object will have a data field with a cardSource object in it.

Take the id field from the cardSource object and use it to read the members from the source card:

GET 1/cards/SOURCE_CARD_ID/members

Thanks Oscar Triscon. Following code worked for me.

GET api.trello.com/1/cards/<card-id>/actions/?filter=addMemberToCard&key=<key>&token=<token>

Oscar Triscon Community Champion Sep 08, 2017

That code recovers user additions from a card, but be careful that the users haven't been removed from it afterwards.

Depending on your application, it's better to find the source card and copy the current members.

Yes got your point about later changes (user removed).

On source card I am not sure if there is one. Since the card is moved I thought it's same card in same list but in new board.

Oscar Triscon Community Champion Sep 09, 2017

Ah of course. I was thinking about copying cards, not moving, sorry.

Suggest an answer

Log in or Register to answer