com.atlassian.jira.issue.fields.screen
Interface ProjectFieldScreenHelper

All Known Implementing Classes:
DefaultProjectFieldScreenHelper

public interface ProjectFieldScreenHelper

An internal helper class for Project Configuration.

Since:
v4.4

Method Summary
 List<Project> getProjectsForFieldScreen(FieldScreen fieldScreen)
          Gets the projects using a given FieldScreen.
 

Method Detail

getProjectsForFieldScreen

List<Project> getProjectsForFieldScreen(FieldScreen fieldScreen)
Gets the projects using a given FieldScreen. A project uses a given FieldScreen if it:
  1. uses a workflow that has the FieldScreen as a transition screen, or
  2. uses a field screen scheme thas has a FieldScreen for one of its issue operations
Only projects for which the requesting user has ProjectAction.EDIT_PROJECT_CONFIG permissions are returned.

Parameters:
fieldScreen - field screen to find associated projects for.
Returns:
list of projects which use the given field screen. Sorted by ProjectNameComparator.COMPARATOR


Copyright © 2002-2012 Atlassian. All Rights Reserved.