Document toolboxDocument toolbox

This article is for Data Center. Visit Cloud

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 }