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?
Thank you!
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
fantastic answer. thank you!
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.