|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PopularIssueTypesUtil
A utility interface to help determine which issue types are being created most often for a project/user context. Note that none of these methods ever deal in sub tasks, only "full" issue types are considered.
Nested Class Summary | |
---|---|
static class |
PopularIssueTypesUtil.PopularIssueTypesHolder
|
Method Summary | |
---|---|
List<IssueType> |
getOtherIssueTypesForProject(Project project,
com.atlassian.crowd.embedded.api.User user)
Returns the set difference between all available issue types for a project, and the popular issue types for a project/user context. |
PopularIssueTypesUtil.PopularIssueTypesHolder |
getPopularAndOtherIssueTypesForProject(Project project,
com.atlassian.crowd.embedded.api.User user)
Returns a holder that contains both - popular and other issue Types. |
List<IssueType> |
getPopularIssueTypesForProject(Project project,
com.atlassian.crowd.embedded.api.User user)
Returns the most popular non-subtask issue types used for issue creation in the specified project and by the specified user, within a designated time frame. |
Method Detail |
---|
List<IssueType> getPopularIssueTypesForProject(Project project, com.atlassian.crowd.embedded.api.User user)
project
- the project to queryuser
- the reporter to query; use null if the reporter is not important
List<IssueType> getOtherIssueTypesForProject(Project project, com.atlassian.crowd.embedded.api.User user)
project
- the project to queryuser
- the reporter to query; use null if the reporter is not important
PopularIssueTypesUtil.PopularIssueTypesHolder getPopularAndOtherIssueTypesForProject(Project project, com.atlassian.crowd.embedded.api.User user)
getPopularIssueTypesForProject(com.atlassian.jira.project.Project, User)
And
getOtherIssueTypesForProject(com.atlassian.jira.project.Project, User)
This is more performant than the two seperate calls.
project
- the project to queryuser
- the reporter to query; use null if the reporter is not important
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |