public interface ProjectFieldLayoutSchemeHelper
A field layout 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|
Returns a list of the projects are currently using the passed field layout, and the field layout is active.
Return a list of projects that use the field layout scheme with the passed query.
schemeId- the scheme id query. Null can be passed to search for the magical system default field layout scheme.
com.google.common.collect.Multimap<FieldLayout,Project> getProjectsForFieldLayouts(Set<FieldLayout> fieldLayouts)
getProjectsForFieldLayout(com.atlassian.jira.issue.fields.layout.field.FieldLayout), but takes a set of fieldLayouts and returns a multimap of FieldLayouts -> Active projects
fieldLayouts- Field layouts to get projects for
List<Project> getProjectsForFieldLayout(FieldLayout fieldLayout)
Only projects that the current user can change the configuration for will be returned.
fieldLayout- the name of the field layout the check.
Copyright © 2002-2021 Atlassian. All Rights Reserved.