Database import
You might want to import data from an internal or third-party system like BMC Remedy or Service Now. This article guides you through importing data from another database. Learn more about importing
You need to be a Jira admin to create, configure, and enable database imports.
Supported databases
We're using a common framework (jdbc) to connect to the database, so we support many databases:
Database Type | Driver |
---|---|
Microsoft SQL Server | com.microsoft.sqlserver.jdbc.SQLServerDriver |
Oracle | oracle.jdbc.OracleDriver |
PostgreSQL | org.postgresql.Driver |
MySQL | com.mysql.jdbc.Driver |
Import fields
Once you've chosen your import type, you'll need to enter details about it. Here's the description of fields you should see in Insight.
Pre-defined structure and configuration
Predefined structure and configuration is not available for this import type.
Import configuration created
You can now view your import configuration, but it's not ready yet. You still need to create or review the object type and attribute mapping, and make sure there are no problems with your import configuration.
When you're ready, go to 2. Create object type and attribute mapping.
Before you go
In the next step, you'll create the object type and attribute mappings. Here are some settings specific to the database import type.
Object type mapping configuration
Name | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Selector | The selector for the Database import is a SQL query. How to build SQL queries depends on the database type. How to build up the selector (the SQL statement) depends on how you have configured the database connection. Below you will see some examples that will hopefully guide you in the right direction when setting this up.
If you want to query the Jira database, you can look into the dbconfig.xml found in Jira_HOME directory, to find out the correct configuration, such as schema name etc. |