Skip to main content
Skip table of contents

List All Saved Views

The following script provides a list of all Structure Views saved on the Jira instance.


import com.atlassian.jira.component.ComponentAccessor

def plugin = ComponentAccessor.pluginAccessor.getPlugin('com.almworks.jira.structure')
def viewManager = plugin.getModuleDescriptor('view-manager').module

viewManager.getViews(null).collect { it.name }

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.