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?
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.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Oscar Triscon. Following code worked for me.
GET api.trello.com/1/cards/<card-id>/actions/?filter=addMemberToCard&key=<key>&token=<token>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah of course. I was thinking about copying cards, not moving, sorry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How did you move your list to another board? I cant find a way to do this.
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.