public interface ProjectIssueTypeScreenSchemeHelper
A field screen scheme is only considered "active" if it is currently actually being used by a project. This means it is active if:
Internal helper class for Project Configuration.
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<FieldScreenScheme,Project> |
getAllProjectsForFieldScreenSchemes(Set<FieldScreenScheme> fieldScreenSchemes)
Like
getProjectsForFieldScreenScheme(FieldScreenScheme) returns projects used by given field screen schemes,
but returns all affected projects instead of project which cna be configures |
List<Project> |
getProjectsForFieldScreenScheme(FieldScreenScheme fieldScreenScheme)
Returns a list of the projects are currently using the passed screen scheme, and the screen scheme is active.
|
com.google.common.collect.Multimap<FieldScreenScheme,Project> |
getProjectsForFieldScreenSchemes(Set<FieldScreenScheme> fieldScreenSchemes)
Like
getProjectsForFieldScreenScheme(com.atlassian.jira.issue.fields.screen.FieldScreenScheme) , but
takes a set of field screen schemes and returns a multimap of Field Screen Scheme -> Active projects |
List<Project> |
getProjectsForScheme(IssueTypeScreenScheme issueTypeScreenScheme)
Return a list of projects that use the issue type screen scheme with the passed query.
|
List<Project> getProjectsForScheme(IssueTypeScreenScheme issueTypeScreenScheme)
issueTypeScreenScheme
- the issue type screen scheme. There is no concept of a magical null-id issue type screen scheme, all
of them, even the default, have IDs.com.google.common.collect.Multimap<FieldScreenScheme,Project> getProjectsForFieldScreenSchemes(Set<FieldScreenScheme> fieldScreenSchemes)
getProjectsForFieldScreenScheme(com.atlassian.jira.issue.fields.screen.FieldScreenScheme)
, but
takes a set of field screen schemes and returns a multimap of Field Screen Scheme -> Active projectsfieldScreenSchemes
- field screen schemes to get projects forProjectNameComparator
com.google.common.collect.Multimap<FieldScreenScheme,Project> getAllProjectsForFieldScreenSchemes(Set<FieldScreenScheme> fieldScreenSchemes)
getProjectsForFieldScreenScheme(FieldScreenScheme)
returns projects used by given field screen schemes,
but returns all affected projects instead of project which cna be configuresfieldScreenSchemes
- field screen schemes to get projects forProjectNameComparator
List<Project> getProjectsForFieldScreenScheme(FieldScreenScheme fieldScreenScheme)
Only projects that the current user can change the configuration for will be returned.
fieldScreenScheme
- the name of the field screen scheme to check.Copyright © 2002-2022 Atlassian. All Rights Reserved.