Greetings everyone,
I have a question regarding the Structure API. I want to get an overview of Structures that haven’t been used for a while and found this documentation. The provided code, when run inside the Scriptrunner console, displays all Structures available and does not distinguish those that haven't been used over X Months.
I have additionally analyzed the API documentation, especially that about the StructurePropertyService Interface, but wasn’t able to come up with a solution.
has anyone searched for the same, and had the same problem? or maybe found a solution by querying the database?
The Jira version is Data Center 9.12.2, Structure version is 9.2.0
Thank you and kind regards,
Marko
Hello @Marko Dev
We can confirm that the script is operational, and it should return a list of structures that weren't opened in the last 3 months. This information is based on the 'Last opened' column shown at Structure | Manage Structures | All.
Please note - this statistic is only gathered in Structure version 8.2 and higher, i.e., there are no records of when structures were accessed on older versions. So, to get useful results in the script, you should have the Structure of a relevant version installed for at least 3+ months; otherwise, there won't be any records.
If the script's results don't match the last opened column or if you have other questions about Structure, please reach out to us directly at our support portal and we'll get back to you shortly.
Best regards,
Stepan
Tempo (the Structure app vendor)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.