In my powerup, I would like to trigger a specific event whenever the user moves a card between two lists. Ideally, I would be able to receive the names of these lists in the callback, and then act according to that information.
I have seen the post at http://tech.trello.com/power-up-tutorial-part-three/, which describes an event listener for a button action. Is there a simple way to do the same for moving a card between lists?
The power-up API doesn't support notifications for cards being moved. But you can do this by registering a webhook to track the user or board actions. This involves a few extra steps: you need to ask the user for an auth token, register the webhook, receive the webhook in the server, and communicate with your power-up to perform any actions.
You can read about webhooks here: https://developers.trello.com/get-started/intro#webhooks
You’re invited to our first ever Trello User Groups Good news for current and aspiring Trello enthusiasts! We’re launching Trello User Groups so that you can network, share ideas, solve ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot