How to clean up unused structures
This article is for Structure Data Center.
Problem
I want to find the unused structures and delete some of them.
Solution
You can find such structures in the following ways:
By checking the Manage Structures page - it has the Last opened column that shows when each structure was last accessed by any user: https://help.tempo.io/structure-dc/latest/managing-structures
You can run a groovy script to find structures that haven’t been accessed in a defined time period. You can adjust this example script to the time period you need: https://help.tempo.io/structure-dc/latest/list-structures-that-havent-been-accessed-in-3-mon .
Check if there are structures owned by inactive users in Jira. Generators in such structures can’t add any content since the owner can’t see any issues anymore. Such structures either should be deleted, or their owner should be changed to a different user who has access to issues in Jira. You can find such structures using another script: https://help.tempo.io/structure-dc/latest/archive-structures-owned-by-inactive-users