@Component public class IssueFields extends Object
Constructor and Description |
---|
IssueFields(ScreenFinder screenFinder,
ProjectFieldScreenHelper screenHelper,
CustomFieldManager fieldManager,
FieldLayoutManager fieldLayoutManager) |
Modifier and Type | Method and Description |
---|---|
void |
addFieldToIssueScreens(Field field,
Issue issue) |
Iterable<Project> |
getAffectedProjects(Issue issue)
Returns the list of projects that will be affected by adding a field to a screen.
|
Iterable<OrderableField> |
getAllCustomFields(Issue issue)
Returns the list of Custom Fields that are in the context of a passed issue and are visible.
|
Iterable<Pair<OrderableField,Boolean>> |
getAllCustomFieldsWithOnAllScreensFlag(Issue issue)
Returns the a list of pairs where each pair contains a Custom Field and an indication whether that field is visible for a passed issue.
|
@Autowired public IssueFields(ScreenFinder screenFinder, ProjectFieldScreenHelper screenHelper, CustomFieldManager fieldManager, FieldLayoutManager fieldLayoutManager)
public Iterable<Project> getAffectedProjects(Issue issue)
issue
- the issue to check.public Iterable<OrderableField> getAllCustomFields(Issue issue)
issue
- the issue in the query.public Iterable<Pair<OrderableField,Boolean>> getAllCustomFieldsWithOnAllScreensFlag(Issue issue)
issue
- the issue in the queryCopyright © 2002-2018 Atlassian. All Rights Reserved.