@Internal
public interface JqlIssueSupport
Modifier and Type | Method and Description |
---|---|
Set<Long> |
getIdsOfMissingIssues(Set<Long> issueIds)
Check existence of issues for the given set of IDs
|
Issue |
getIssue(long id)
Get the issue given its id.
|
Issue |
getIssue(long id,
ApplicationUser user)
Get the issue given its id if the passed user can see it.
|
Issue |
getIssue(String issueKey)
Get the issue with the passed key.
|
Issue |
getIssue(String issueKey,
ApplicationUser user)
Get the issue with the passed key if the passed user can see it.
|
List<Issue> |
getIssues(String issueKey)
Deprecated.
Use
getIssue(String) instead. Since v6.1. |
List<Issue> |
getIssues(String issueKey,
ApplicationUser user)
Deprecated.
Use
getIssue(String, com.atlassian.jira.user.ApplicationUser) instead. Since v6.1. |
Set<String> |
getKeysOfMissingIssues(Set<String> issueKeys)
Check existence of issues for the given set of keys
|
Set<Pair<Long,String>> |
getProjectIssueTypePairsByIds(Set<Long> issueIds)
Returns a set of project ID / issue type combinations that given issue IDs cover.
|
Set<Pair<Long,String>> |
getProjectIssueTypePairsByKeys(Set<String> issueKeys)
Returns a set of project ID / issue type combinations that given issue keys cover.
|
Issue getIssue(long id, ApplicationUser user)
id
- the id of the issue to retreieve. A null key is assumed not to exist within JIRA.user
- the user who must have permission to see the issue.Issue getIssue(long id)
id
- the id of the issue to retrieve.Issue getIssue(String issueKey, ApplicationUser user)
issueKey
- they key of the issue to retrieve. A null key is assumed not to exist within JIRA.user
- the user who must have permission to see the issue.for a version with no permission check
Issue getIssue(String issueKey)
issueKey
- they key of the issue to retrieve. A null key is assumed not to exist within JIRA.for a version with permission checks
@Deprecated List<Issue> getIssues(String issueKey, ApplicationUser user)
getIssue(String, com.atlassian.jira.user.ApplicationUser)
instead. Since v6.1.issueKey
- they key of the issue to retrieve. A null key is assumed not to exist within JIRA.user
- the user who must have permission to see the issue.for a version with no permission check
@Deprecated List<Issue> getIssues(String issueKey)
getIssue(String)
instead. Since v6.1.issueKey
- they key of the issue to retreieve. A null key is assumed not to exist within JIRA.for a version with permission checks
@Internal @Nonnull Set<Pair<Long,String>> getProjectIssueTypePairsByKeys(@Nonnull Set<String> issueKeys)
issueKeys
- Set of issue keys@Internal @Nonnull Set<Pair<Long,String>> getProjectIssueTypePairsByIds(@Nonnull Set<Long> issueIds)
issueIds
- Set of issue IDs@Internal @Nonnull Set<String> getKeysOfMissingIssues(@Nonnull Set<String> issueKeys)
issueKeys
- Set of issue keysCopyright © 2002-2019 Atlassian. All Rights Reserved.