public static interface FieldConfigurations.FieldConfiguration
Modifier and Type | Method and Description |
---|---|
String |
getRenderer(String fieldName) |
FieldScreenAssociations |
getScreens(String name) |
void |
hideField(int id)
Deprecated.
since 4.2. This method is not future-proof; as fields get added to configurations, the 'id'
sequence might change for the field you intended to use. Use
hideFields(String) instead. |
void |
hideFields(String name) |
void |
optionalField(String name) |
void |
requireField(String name) |
void |
setRenderer(String fieldName,
String rendererName)
Note: this assumes that the field is a Renderable Field.
|
void |
showField(int id)
Deprecated.
since 4.2. This method is not future-proof; as fields get added to configurations, the 'id'
sequence might change for the field you intended to use. Use
showFields(String) instead. |
void |
showFields(String name) |
void showField(int id)
showFields(String)
instead.id
- the sequence of the field you want to show in the Field Configuration screenvoid hideField(int id)
hideFields(String)
instead.id
- the sequence of the field you want to hide in the Field Configuration screenvoid showFields(String name)
name
- The name of the field you wish to show e.g. Affects Version/s
void hideFields(String name)
name
- The name of the field you wish to hide e.g. Component/s
void requireField(String name)
name
- The name of the field you wish to make required e.g. Description
void optionalField(String name)
name
- The name of the field you wish to make optional e.g. Assignee
String getRenderer(String fieldName)
fieldName
- The name of the field e.g. Comment
AssertionError
- if the field is not renderable.void setRenderer(String fieldName, String rendererName)
fieldName
- The nme of the field to apply the renderer to e.g. Log Work
rendererName
- The type of renderer to apply e.g. Wiki Style Renderer
FieldScreenAssociations getScreens(String name)
name
- The name of the field you wish to associate to screens e.g. Time Tracking
Copyright © 2002-2019 Atlassian. All Rights Reserved.