Power Database Fields migration process
Deprecation notice
Power Database Fields version 6.0+ only supports next-generation fields (Advanced Database Row Field and Advanced Database Table Field). Legacy fields were removed in version 6.0. If upgrading from version 5.8 or earlier, migration is required before upgrading.
For additional information, see the Breaking changes for Power Database Fields version 6.0.820.0.
If you're upgrading from version 5.8 or earlier, you must migrate your legacy fields before upgrading to version 6.0+. This page provides comprehensive guidance for the migration process.
Always perform migration in a test environment first. Depending on your field configurations, the migration process can be complex and time-consuming.
Before you start
Migration can be time and effort-intensive depending on the number of fields and their complexity. Before beginning migration, make sure you complete the following:
1 | Check Jira version compatibility | Power Database Fields version 5.8+ is not compatible with Jira 9. Plan your Jira and app upgrades accordingly. |
2 | Backup your database | This is mandatory before making any changes. |
3 | Set up a test environment | Never perform migration directly in production. |
4 | Upgrade to version 5.8+ | Migration tools are only available in version 5.8 and later (recommended: version 5.8.0.14). |
5 | Document existing configurations | Note your current field settings, queries, and dependencies |
Migration process overview
The migration process involves several steps:
1 | Evaluate your current field configurations. | |
2 | Convert legacy fields to next-generation fields using the Migration Wizard or manual configuration. | |
3 | Redesign legacy child fields using next-generation approaches. | |
4 | Migrate existing field data (if needed). | |
5 | Verify functionality in a test environment. Migration complexity varies significantly based on your current implementation. Allow adequate time for testing and validation before deploying to production. | |
6 | Production deployment | Apply changes to production after successful testing. |
7 | Update references and remove old fields. |
Step 1: Assessment
Before migrating, categorize your legacy fields by complexity:
For… | Recommended migration approach… |
---|---|
Simple configurations
|
|
Complex Configurations
|
|
Step 2: Field conversion
Once you've completed the prerequisites and assessed your field configurations, you can proceed with the actual migration. Power Database Fields provides two approaches for converting legacy fields to next-generation fields, each suited to different complexity levels and technical requirements.
Method 1: Using the Migration Wizard
The Migration Wizard automates the conversion process for simple field configurations. The Migration Wizard:
Creates an exact copy of your legacy field configuration.
Converts settings to next-generation field format.
Attempts to transfer existing field values automatically.
Leaves the original legacy field intact during migration.
Migration Wizard limitations:
Might not parse complex SQL queries correctly.
Cannot handle advanced scripting configurations.
Might fail to migrate values for complicated field relationships.
Procedure
To access the Migration Wizard:
Navigate to Administration > Power Apps Config.
Click Tools > Migrate Old DBCF.
Follow the wizard’s instructions.
After migration completes:
Review the migrated field configuration.
Thoroughly test field functionality.
Perform manual adjustments if needed.
Method 2: Manual migration
For complex configurations or when the Migration Wizard fails to produce correct results, manual migration is required.
Procedure
Create a new Advanced Database Row Field. To do this:
Go to Administration > Custom Fields > Add Custom Field
Select Advanced Database Row Field.
Configure the new custom field using the Configuration Wizard or Advanced Configuration.
Use the Configuration Wizard for guided setup (requires primary key in database table).
Use Advanced Configuration for full manual control.
Set up the required scripts:
GET script: Retrieves field values (uses primary key as parameter).
SEARCH script: Provides selectable options.
DEFAULT script - Sets default values (optional).
Configure external parameters (if needed).
Set up dependencies on other fields.
Configure dynamic parameter passing.
Test field functionality.
Verify queries execute correctly
Test field behavior in Create/Edit screens
Validate parameter dependencies
Step 3: Convert child field relationships
Legacy child fields don't exist in next-generation fields. Use these alternatives:
Option 1: Multi-column Advanced Row Field (recommended) | Option 2: Dynamic parameter relationships |
---|---|
Convert parent-child relationships into a single Advanced Row Field with multiple columns:
| To create separate Advanced Row Fields connected through dynamic parameters:
Result: When users select a value in the parent field, the dependent field will show only the relevant options based on that selection. |
Step 4: Field values migration
After successfully migrating your field configurations, you need to transfer the actual data values from your legacy fields to the new next-generation fields. This can happen automatically through the Migration Wizard or manually using SIL scripts when automatic migration fails.
Method 1: Automatic value migration
The Migration Wizard attempts to transfer existing field values automatically. However, this might fail for complex configurations.
Method 2: Manual value migration with SIL scripts
When automatic migration doesn't transfer values, use SIL scripts to move data from legacy fields to new fields.
Example SIL script for value migration
This example SIL script demonstrates the basic structure for migrating field values. You'll need to customize this script for your specific environment and field configuration before running it.
for(string k in selectIssues("project = YOUR_PROJECT")) {
string[][] data;
string[] oldData = %k%.customfield_OLD_FIELD_ID;
data[0] = sql("YOUR_DATASOURCE", "SELECT col1, col2 FROM your_table WHERE col2 = ?", oldData[0]);
%k%.customfield_NEW_FIELD_ID = data;
}
Note: This example works for single select and autocomplete fields. Multiselect fields and special cases (such as data no longer present in the external database) require modified scripts. Contact support for assistance with complex migration scenarios.
To use this example script in your environment, you must modify the following parameters to match your specific configuration:
JQL query | Replace |
Data source name | Replace |
SQL query | Update the |
Custom field IDs | Replace |
Important: Never run this script without customizing these parameters first, as it will fail or potentially affect unintended data.
Procedure
Navigate to Administration > SIL Manager.
Right-click the silprograms folder and select New > File.
Create a file with a
.sil
extension (for example,migrate_values.sil
)Paste your customized migration script.
Click the Check button to validate syntax.
Click the Run button to execute.
Verify migration results:
Check Editor Console for "DONE!" success message or error details.
Use the Issue Navigator to compare old and new field values side-by-side.
Open individual issues to confirm data transferred correctly.
Step 5: Testing and Validation
After completing field conversion and value migration, thorough testing in your test environment is essential before deploying changes to production. This validation process helps identify any configuration issues, data transfer problems, or integration conflicts that need resolution.
Before applying migration to production, follow this testing protocol:
1 | Functional testing |
|
2 | Data validation |
|
3 | Integration testing |
|
4 | Performance testing |
|
Common Issues and Troubleshooting
During migration, you might encounter various technical challenges depending on your field complexity and configuration. Here are the most frequently reported issues and their solutions to help you resolve problems quickly.
If… | Do this… |
---|---|
Migration Wizard fails to parse query |
|
Values not migrated |
|
Field dependencies not working |
|
Performance issues |
|
Step 7: Post-migration tasks
Once you've successfully migrated and validated your fields in the test environment, several important tasks remain to complete the transition to production. These steps ensure your organization can fully utilize the new fields while maintaining operational continuity.
1 | Update documentation |
|
2 | Update integrations |
|
3 | User communication |
|
4 | Cleanup |
|
Getting help
If you encounter issues during migration:
Review field configuration for accuracy.
Check SIL Manager Editor Console for error details.
Test in isolation to identify specific problems.
Contact Appfire support with specific error messages and configuration details.
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.