Curious to know if anyone has insight here. Whether there is a field on a webhook or in the API response that indicates a space was created using the import functionality.
Is there a way to differentiate between a new space created via import vs. standard page creation?
Hi @DanielLaframboise ,
Welcome to the Atlassian developer community.
space_created webhooks are not sent when a space is imported.
Since there is no
space_imported webhook, a workaround could involve creating an index of all manually spaces and maintain this using
space_created. Any spaces not in this index would be those that are imported. I don’t have a great solution for being proactively informed of spaces that have been imported other than by listening for more granular events such as
page_created and checking if it’s parent space is in the index and also some form of periodic (e.g. cron job) processing that searches through all spaces.