Add view setting to specify level of expansion
When creating or editing views, allow specifying the degree of expansion. My use case is that I want to show all issues in the top three levels by default. Furthermore, I want the expansion setting to apply to the Confluence gadget.
Alternatively, a perspective can be used to achieve the same result, but there is currently no way to use a perspective for the Confluence gagget. If the perspective could be used in the gadget, then I would recommend combining with http://structure.uservoice.com/forums/43181-structure-plugin-for-jira-ideas/suggestions/1773075-add-controls-to-expand-contract-one-level-at-a-t to allow an unlimited customization of gadget presentations.
Likely planned for 3.0
So, Structure 3 has the selector in the toolbar for the level of expansion. The remaining part is adding that as a setting to gadget.
Thanks for your suggestion! Collapse/expand to a specific level is coming with 3.0 release. It also makes sense to add the initial expansion level to the gadget parameters, I'm not sure if we can fit it into 3.0, but we'll try.
As for making it a part of the view, I think it will introduce more problems than it would solve. We may consider something like "default expansion level" for a structure, but I guess that's further down the road.