Webhook Issues

Hi,

I am building a Clone Card Sync APP using PHP and webhooks. Facing 2 problems.

1) While updating a checkItem position, it seems Trello triggers muliple checkItem webhook actions, seeming an indefinite loop while updating their clones. How to stop it?

 

2) Also, it looks, while changing the position of whole CheckList, no webhook action is received.

 

Please help!

2 answers

1 accepted

0 votes
Answer accepted
Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2019

@Outright Systems Pvt. Ltd. -Administrator- the loop is no doubt caused by the fact that when you update the position to match the moved card, this will trigger a second webhook and thus update the position on the original card, which will trigger another webhook and so on.

One option would be to ignore moves made using the token that is calling the API but if that's not possible you could fetch the current state of the checklist and only make the API call to move the item if the order of items doesn't already match.

As for item 2, I can confirm that I'm not receiving any webhook notification for a checklist position move, this sounds like something you should submit as an API feature request.

How to put API feature request?

and Sorry for my bad ethics, Thanks for answering Quickly 

Iain Dooley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 2, 2019

@Outright Systems Pvt. Ltd. -Administrator- no worries I usually just email support@trello.com

Done , Thanks @Iain Dooley 

0 votes
sergeivaskov
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!
August 2, 2024

@Outright Systems Pvt. Ltd. -Administrator- 

@Iain Dooley 
Did you get an answer to your second question?

We are trying to track position and movement between lists. Have you found any solution for that?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events