@InjectableComponent public interface JqlIssueKeySupport
Modifier and Type | Method and Description |
---|---|
boolean |
isValidIssueKey(String issueKey)
Determines is the passed issue key is valid for JIRA.
|
long |
parseKeyNum(String issueKey)
Return the numeric part of the issue key.
|
String |
parseProjectKey(String issueKey)
Return the project key part of the issue key.
|
boolean isValidIssueKey(String issueKey)
issueKey
- the issue key to validate. Null will be considered an invalid key.long parseKeyNum(String issueKey)
isValidIssueKey(String)
method can be used to determine if a key is invalid
or not.issueKey
- the issue key to parse. A null key will return -1.String parseProjectKey(String issueKey)
isValidIssueKey(String)
method can be used to determine if a key is invalid
or not.issueKey
- the issue key to parse. A null key will return null.Copyright © 2002-2017 Atlassian. All Rights Reserved.