Class AllUnreleasedVersionsFunction
java.lang.Object
com.atlassian.jira.plugin.jql.function.AbstractJqlFunction
com.atlassian.jira.plugin.jql.function.AbstractVersionsFunction
com.atlassian.jira.plugin.jql.function.AllUnreleasedVersionsFunction
- All Implemented Interfaces:
ClauseSanitisingJqlFunction,JqlFunction
Function that produces released versions for any specified projects (or all released versions if no project is
specified). The versions returned will include both archived and unarchived versions.
Projects are resolved by project key first, then name, then id. Only Versions from Projects which the current user can browse will be returned.
- Since:
- v4.0
-
Field Summary
FieldsFields inherited from class com.atlassian.jira.plugin.jql.function.AbstractVersionsFunction
permissionManager, projectIndexInfoResolver -
Constructor Summary
ConstructorsConstructorDescriptionAllUnreleasedVersionsFunction(VersionManager versionManager, ProjectResolver projectResolver, PermissionManager permissionManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<Version>protected Collection<Version>getVersionsForProject(Long projectId) Methods inherited from class com.atlassian.jira.plugin.jql.function.AbstractVersionsFunction
createIndexInfoResolver, getDataType, getMinimumNumberOfExpectedArguments, getValues, sanitiseOperand, validateMethods inherited from class com.atlassian.jira.plugin.jql.function.AbstractJqlFunction
getFunctionName, getI18n, getModuleDescriptor, init, isList, validateNumberOfArgs
-
Field Details
-
FUNCTION_UNRELEASED_VERSIONS
- See Also:
-
-
Constructor Details
-
AllUnreleasedVersionsFunction
public AllUnreleasedVersionsFunction(VersionManager versionManager, ProjectResolver projectResolver, PermissionManager permissionManager)
-
-
Method Details
-
getAllVersions
- Specified by:
getAllVersionsin classAbstractVersionsFunction- Returns:
- all the versions relevant to this function.
-
getVersionsForProject
- Specified by:
getVersionsForProjectin classAbstractVersionsFunction- Parameters:
projectId- the id of theProjectwhich the versions belong to- Returns:
- all the versions relevant to this function and the specified project
-