Created
September 11, 2013 15:32
-
-
Save dodok1/6525310 to your computer and use it in GitHub Desktop.
clear notification scheme for all projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.atlassian.jira.component.ComponentAccessor | |
def pm = ComponentAccessor.getProjectManager() | |
def nsm = ComponentAccessor.getNotificationSchemeManager() | |
pm.getProjectObjects().each{project->nsm.removeSchemesFromProject(project)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment