Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Removing Individual Votes

Christine
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2023

I am the board administrator for my group. We have ongoing voting for different cards (topics). When members leave the group, I want to delete their vote on any particular card. Even when I have removed them from the group, their votes on the cards remain. I do not want to delete everyone's vote (I know how to do that), I just want to delete those who are no longer a part of the group. Is there a way to do that?

1 answer

1 accepted

0 votes
Answer accepted
Dreamsuite Mike
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 5, 2023

Hi @Christine 

 

It doesn't look to me like it is possible either manually or via automation.  

There is an API call for deleting a members vote though so if you are familiar with Zapier or Make.com, you could set up that when a member is removed from the board, their votes are removed.  

It is a little bit of an advanced topic I'm afraid but that does seem like the only way.

Christine
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2023

Thank you for that information. My husband is familiar with Zapier, so potentially, we might be able to figure out how to apply the API. Do you know if there is any kind of documentation or information related to how to do this?  And, I'm wondering if it would apply to members who have already been removed from the group. We just have a huge list of cards with votes on them from people who are long gone so it is skewing the tallies. Anyway, I really appreciate your help!

Rasmus Wulff Jensen
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 5, 2023

In the API you need the technical ID of the member you need to remove the vote for... If written in code one could get all the votes on the card (and their member-ids) and then look at the board's members... And then remove any member that is not related to the board anymore....

Here are some C# examples on how to do it: https://github.com/rwjdk/TrelloDotNet/wiki/RemoveVoteFromCardAsync

and 

https://github.com/rwjdk/TrelloDotNet/wiki/GetMembersWhoVotedOnCardAsync

... I could properly write you a small tool to do it if you like (no charge)...

Dreamsuite Mike
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 5, 2023

You can find it here...
I stopped using Zapier (too expensive) but it is unlikely they have a built in action for that so you would have to use an API call in Zapier to do it...

The Trello API documentation can be found here...

https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-membersvoted-idmember-delete 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events