Under the menu, we had a collection of labels. They all disappeared from the menu section and from the cards as well. Looked into the Activity section already but I don’t see if anyone had deleted those accidentally. What might have happened? What can we do to prevent it from happening next time?
@Aman What I learned very early on this Trello journey is that intra board controls are limited. For example, deleted cards are lost forever and if you need to protect against accidental deletion and ‘recovery’ you need to do something like the video below.
Since there is a board label deletion action, I think the same mechanisms used to protect card deletion and be deployed to handle labels. Need to test this out.
https://youtu.be/vuu4nJ8ET4Y
If a card is deleted, you would see under the activity that a card has been deleted. But I don’t see anything that says that the labels were deleted. Is there a way to track to deleted the labels?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Aman since i have not tested I can only comment based on information provided by Trello. From the table, you can see there is a deleteLabel action. So you need to monitor the board for this action. As for the recovery, I will need to see what data is provided in the json and revised it. It is not difficult to validate it. It is early morning here. I will probably get to it before the day ends.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Aman As I expected, it does trap the deleteLabel from the board panel. Based on the trigger I am using, I am can capture the user and the label ID. I have not looked at a Trello webhook applied to the same board. The difference between the two is that that Trello webhook typically dumps a lot more data than the triggers I am using.
Just like 'recovered' cards, it would a new label even when you set to the same name and colour. The labels on each card uses a id to point to the label definitions on the board. So a lot more work has to be done to use the deleted id to look for all labels with that id, remove it and add the new label (same name & colour but different id)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://developer.atlassian.com/cloud/trello/guides/rest-api/webhooks/#webhook-actions-and-types
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.