public class


extends Object
   ↳ com.atlassian.jira.util.ImportUtils

Class Overview

Utility code originally written to support various importers. Contains methods for bypassing security schemes, reindexing issues, creating new issue types, resolutions, custom fields, and various other useful bits of code.

It's used by JIM (JIRA Importers Plugin)


Public Methods
static boolean isEnableNotifications()
static boolean isIndexIssues()
static boolean isSubvertSecurityScheme()
static void setEnableNotifications(boolean enable)
static void setIndexIssues(boolean index)
static void setSubvertSecurityScheme(boolean subvert)
Whether to subvert the security scheme or not.
static String stripHTMLStrings(String str)
Remove any HTML from text contents.
Inherited Methods
From class java.lang.Object

Public Methods

public static boolean isEnableNotifications ()

public static boolean isIndexIssues ()

public static boolean isSubvertSecurityScheme ()

public static void setEnableNotifications (boolean enable)

public static void setIndexIssues (boolean index)

public static void setSubvertSecurityScheme (boolean subvert)

Whether to subvert the security scheme or not. This is done on a thread local basis, so the subversion only occurs for this thread / request.

Other classes may alter their behaviour based on the value you pass.

subvert Whether to subvert the scheme or not.
See Also
  • com.atlassian.jira.ManagerFactory#getPermissionManager()

public static String stripHTMLStrings (String str)

Remove any HTML from text contents.

str Text with HTML (eg <a href="...">..</a> links).
  • str without HTML