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
As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...
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