@Service public class CreateNewRankCustomFieldsFromOldTask extends AbstractTransactionalTask<UpgradeTaskState>
GhUpgradeTask013. We define and create a new RankCFType custom field for each existing
com.pyxis.greenhopper.jira.customfields.RankingCFType custom field.
If we hit any problems when creating the new fields, we remove all the ones we've already created and then throw
an UpgradeException.log| Constructor and Description |
|---|
CreateNewRankCustomFieldsFromOldTask() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_doTask(UpgradeTaskState state) |
protected void |
_undoTask(UpgradeTaskState state) |
doTask, undoTaskpublic CreateNewRankCustomFieldsFromOldTask()
protected void _doTask(UpgradeTaskState state) throws Exception
_doTask in class AbstractTransactionalTask<UpgradeTaskState>Exceptionprotected void _undoTask(UpgradeTaskState state) throws Exception
_undoTask in class AbstractTransactionalTask<UpgradeTaskState>ExceptionCopyright © 2007–2015 Atlassian. All rights reserved.