public class

UpgradeTask_Build6142

extends AbstractUpgradeTask
java.lang.Object
   ↳ com.atlassian.jira.upgrade.AbstractUpgradeTask
     ↳ com.atlassian.jira.upgrade.tasks.UpgradeTask_Build6142

Class Overview

Requires a JIRA re-index to add lucene indexes to support Cascading Select fields.

Summary

Public Constructors
UpgradeTask_Build6142(CustomFieldManager customFieldManager)
Public Methods
void doUpgrade(boolean setupMode)
Perform the upgrade.
String getBuildNumber()
String getShortDescription()
boolean isReindexRequired()
Is a reindex required as a result of running this task.
[Expand]
Inherited Methods
From class com.atlassian.jira.upgrade.AbstractUpgradeTask
From class java.lang.Object
From interface com.atlassian.jira.upgrade.UpgradeTask

Public Constructors

public UpgradeTask_Build6142 (CustomFieldManager customFieldManager)

Public Methods

public void doUpgrade (boolean setupMode)

Perform the upgrade.

Parameters
setupMode Indicating this upgrade task is running during set up.
Throws
Exception

public String getBuildNumber ()

public String getShortDescription ()

public boolean isReindexRequired ()

Is a reindex required as a result of running this task. If this method returns true the Upgrade manager will perform a reindex before completing. If an upgrade task changes data that is indexed by Lucene, e.g. the content of Issue fields then it should return true. A task need not necessarily change data to require a reindex but may return true here and do nothing else if there is a functional change to the code that requires the Lucene index to be rebuilt.

Returns
  • true if a reindex is required as a result of running this task.