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
So you’re using Trello at work, at home and to track your new DIY crafts. The family and co-workers are all on board and everything is organized, color coded and has a due date. But still, there’s so...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs