Package com.atlassian.jira.service.util
Class ServiceUtils
java.lang.Object
com.atlassian.jira.service.util.ServiceUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.ofbiz.core.entity.GenericValue
findIssueInString
(String searchString) Deprecated.static Issue
findIssueObjectInString
(String searchString) Loops through the string and returns the issue that is found within, or null if there is no issue matching.findIssueObjectsInString
(String searchString) static org.ofbiz.core.entity.GenericValue[]
findIssuesInString
(String searchString) Deprecated.usefindIssueObjectsInString(String)
insteadstatic org.ofbiz.core.entity.GenericValue
Deprecated.useIssueManager.getIssueObject(String)
insteadstatic Issue
getIssueObject
(String key) Deprecated.UseIssueManager.getIssueObject(String)
instead.getParameterMap
(String parameterString) This method creates a map of parameters from a string.static String
toParameterString
(Map<String, String> params)
-
Method Details
-
getIssue
Deprecated.useIssueManager.getIssueObject(String)
insteadGiven an actual key - return the issue that matches that key, or null if no issues match that key. -
getIssueObject
Deprecated.UseIssueManager.getIssueObject(String)
instead. Since v6.1.Given an actual key - return the issue that matches that key, or null if no issues match that key. -
findIssueInString
@Deprecated @Nullable public static org.ofbiz.core.entity.GenericValue findIssueInString(String searchString) Deprecated.usefindIssueObjectInString(String)
insteadLoops through the string and returns the issue that is found within, or null if there is no issue matching.It finds any string matching XXX-### and then looks it up to see if it is a valid issue. It will return the first valid issue that exists.
- Parameters:
searchString
- the string to search through for issues- Returns:
- the issue that has been found, or null of one is not found.
-
findIssueObjectInString
Loops through the string and returns the issue that is found within, or null if there is no issue matching.It finds any string matching XXX-### and then looks it up to see if it is a valid issue. It will return the first valid issue that exists.
- Parameters:
searchString
- the string to search through for issues- Returns:
- the issue that has been found, or null of one is not found.
-
findIssuesInString
@Deprecated public static org.ofbiz.core.entity.GenericValue[] findIssuesInString(String searchString) Deprecated.usefindIssueObjectsInString(String)
instead -
findIssueObjectsInString
-
getParameterMap
This method creates a map of parameters from a string.The format of the string is key=value, key=value, key=value.
At the moment this is really only used for Handler parameters, but that whole area needs to be rewritten for JIRA 2.0.
-
toParameterString
-
findIssueObjectInString(String)
instead