I am trying to use the REST API to allow someone to vote on cards. However the customers may not have a Trello ID. Hence I am trying to allow them to comment something like"vote +1". Is there a way I can automate this and increase the votes when they comment?
I think the issue here is the fact that these votes are coming in from those who aren't trello members.
Okay, so if someone records a vote by sending a message, email or completing a webform, it will go to Trello and need to be registered as a vote by a Trello member. The voting functionality in Trello will only allow single vote registrations per member so you couldn't have a member who is creating pseudo votes...
One option is instead of using voting, use a numeric custom field
when you match phrases like '+1', 'yes' 'me' for example, you can use automation to increment a numeric custom field called "Votes"
"when you match phrases like '+1', 'yes' 'me' for example, you can use automation to increment a numeric custom field called "Votes" "
Thank you for answering this @Dreamsuite Mike , how can I do this. Via automation and custom fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all, create a custom numeric field called Votes
The next bit depends on where you are putting the match string in Trello. Say you parse it through the API and it ends up being put in comments, you could have an automation:
when a comment containing "regex:/+1|,yes|me/i" is posted to a card, increase the number in custom field "Votes" by 1
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.