The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Trello Power-Up Development: Can I add a listener for cards moving between lists?

Eric Zhao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2017

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!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Oscar Triscon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 15, 2017

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

Eric Zhao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 15, 2017

fantastic answer.  thank you!

TAGS
AUG Leaders

Atlassian Community Events