Class Overview
Upgrade task to convert Label customfields to system fields. The upgrade task looks for custom fields called
'Labels' or the equivalent in other languages and will migrate their data to the new Labels system field. If there's
several custom fields called 'Labels' they'll all be merged into the system field regardless of their context. All
other labels custom fields will simply be switched over to the new core labels custom field definition.
This upgrade task will also update issue navigator columns, search requests, gadget configurations and delete any
values stored in the custom field values table for labels custom fields.
Summary
Public Constructors |
|
UpgradeTask_Build552(OfBizDelegator ofBizDelegator, LocaleManager localeManager, ColumnLayoutManager columnLayoutManager, JqlQueryParser jqlQueryParser, JqlStringSupport jqlStringSupport, CustomFieldManager customFieldManager, I18nHelper.BeanFactory beanFactory, FieldScreenSchemeManager fieldScreenSchemeManager, FieldLayoutManager fieldLayoutManager, FieldScreenStore fieldScreenStore, CachingLabelStore cachingLabelStore, CachingSearchRequestStore cachingSearchRequestStore, CachingPortletConfigurationStore cachingPortletConfigurationStore)
|
Constants
public
static
final
String
CF_ENTITY
Constant Value:
"CustomField"
public
static
final
String
CF_VALUE_ENTITY
Constant Value:
"CustomFieldValue"
public
static
final
String
LABELS_CF_KEY
Constant Value:
"com.atlassian.jira.plugin.labels:labels"
public
static
final
String
LABEL_GADGET
Constant Value:
"rest/gadgets/1.0/g/com.atlassian.jira.plugin.labels:labels-gadget/templates/plugins/labels/gadget/labels-gadget.xml"
public
static
final
String
NEW_LABEL_GADGET
Constant Value:
"rest/gadgets/1.0/g/com.atlassian.jira.gadgets:labels-gadget/gadgets/labels-gadget.xml"
Public Constructors
Public Methods
public
void
doUpgrade
(boolean setupMode)
Parameters
setupMode
| Indicating this upgrade task is running during set up.
|
public
String
getBuildNumber
()
public
String
getShortDescription
()