|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Internal public interface JqlIssueSupport
Some helper IssueLookup functions for JIRA.
Method Summary | |
---|---|
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(long id,
com.atlassian.crowd.embedded.api.User user)
Deprecated. Use getIssue(long, com.atlassian.jira.user.ApplicationUser) instead. Since v6.1. |
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,
com.atlassian.crowd.embedded.api.User 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. |
Method Detail |
---|
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.
@Deprecated Issue getIssue(long id, com.atlassian.crowd.embedded.api.User user)
getIssue(long, com.atlassian.jira.user.ApplicationUser)
instead. Since v6.1.
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, com.atlassian.crowd.embedded.api.User 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 keys
@Internal @Nonnull Set<Long> getIdsOfMissingIssues(@Nonnull Set<Long> issueIds)
issueIds
- Set of issue IDs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |