Package com.atlassian.jira.upgrade.tasks
package com.atlassian.jira.upgrade.tasks
-
ClassesClassDescriptionThis class is intended to be used by all upgrade tasks that turn on a feature flag for use when implementing ZDU features It turns on a provided feature flag when the upgrade is run and clears the cache (since the feature is turned on by directly modifying the database)This upgrade task adds new scheme entities to the eventIdDestination of all notification schemes in JIRA.Downgrades avatar icons from SVG to PNG.It's a marker for the change to the attachment file system in 7.0 so that it is know that this version of 6.4 onwards is able to read in the new file system from exports by matching to the corresponding upgrade task.Removes mail server definitions with OAuth2 supportThe upgrade factory for JIRA, this provides all of the
UpgradeTask
s that can be run.Upgrade task converting the use of MD5 in the propertyentry table for workflow layouts to SHA256.Upgrade task converting the use of the legacy workflow layouts in the propertyentry table to SHA256.Goes through all of the projects on the JIRA instance, assigning appropriate project types.After the Renaissance migration, sets the application as the default ones based on the available licenses.Deletes the version association for any issues that have a reference to a non-existent project version.Task will set default value for Share Rights column in Share Permissions table.Deletes old issue-type-icon PNG-files that has been converted from SVG usingAvatarTranscoder
.It will reset current admin settings for RTEWith the implementation of the new upgrade task framework we will begin to use a new table UpgradeTaskHistory to store all of the entries for the Upgrades.Restore OS_CURRENTSTEP entries for all issues that are in final state and currently have no OS_CURRENTSTEP entries.This upgrade task enables the "Kanplan" feature, if not already enabled, then resets the FeatureManager cache.This upgrade task enables the "Kanplan epics and versions" featureThis upgrade task enables the "Sprint goal" featureThis upgrade task enables the "Edit closed sprint" featureThis upgrade task enables the "split issue" feature.As we are introducing priority schemes this upgrade task will create default priority scheme with all priorities defined on the instance.Upgrade task to make all clustered job ids unique and then add in the uniqueness constraint to the job id column.JRASERVER-63002 Removal of old indexes...JRASERVER-64928 Removal of old indexes...Drops the single-column 'osproperty_all' index on the 'propertyentry' table.Drops the single-column 'osproperty_entityName' index on the 'propertyentry' table.This task will add 2 new jira issue event types: archived and restored.Converts timestamp of an archived project from the 'propertynumber' table to date and moves it to the 'propertydate' table.Upgrade task that points build number where OAuth2 for mail changes were introducedUpgrade task that re-implements Embedded Crowd's https://stash.atlassian.com/projects/CWD/repos/crowd/browse/components/crowd-persistence-hibernate5/src/main/resources/liquibase/crowd_3_3_0/04_directory_attribute_value_type_migration.xml so it does: - remove null-valued attributes from CWD_DIRECTORY_ATTRIBUTE table and - promote the type of CWD_DIRECTORY_ATTRIBUTE.ATTRIBUTE_VALUE to CLOB on Oracle Database (for MySql, PostgreSQL and MsSqlServer the Entity Engine does the promotion)Upgrade task to encode mail server plain text passwords using base64.Upgrade task to copy email templates from resources to Shared Jira Home.Upgrade task to encrypt AD/LDAP plain text passwords.Initially this task was to introduce Custom Fields identification mechanisms in 8.15.0 but was changed to no op after the feature was postponed to later versionThis upgrade task enables JIRA Index Snapshot Service by default to take a snapshot daily at 2am.Replaces 'uk_mem_parent_child_type' and 'idx_mem_dir_parent_child' indexes with 'uk_mem_dir_parent_child'.Upgrade task that adds index versions to issue, worklog and comment version tables.This upgrade task forces full reindex after upgrade to Jira 9 to have guaranteed versions for all issues, comments, worklogs and change history entities.This upgrade task enables JMX metrics on all instances, we do this as part of the release of the Application Monitoring feature.Removes duplicate entries for (entityName, entityId, propertyKey) with different types leaving only the latest one.Upgrade task marking issues from archived projects as archived in jiraissue table.