Skip to end of banner
Go to start of banner

Database Synchronization

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Import assets and keep them synchronized with a database or a CMDB tool.

Database synchronization definition can be made from External System Configuration tab which is under the Settings menu.


SettingDescription
Name

Specify a name for your configuration.

URLThe URL to connect to the database.
Driver

The driver class to connect to the database.

Please do not forget to place JDBC driver (*.jar) to <Jira Installation Directory>/lib folder

and restart Jira after placing the driver class.

DatabaseDriver class
Microsoft SQL Server
MySQL
PostgreSQL
Oracle
UserAn authorized user for the database.
Password

Authorized user password.

Password will be kept as encrypted.

Every time when want to edit a configuration you must enter the password again.

Cron ExpressionDetermine when synchronization should work.
Acting Jira UserA Jira user to perform create, update, delete operations.
Is ActiveSynchronization can be disabled by this option.
Test ConnectionSettings can be tested by clicking Test Connection


Asset Type Mapping

Asset Type Mapping is for the mapping queries with asset types. 

You can reach the Asset Type Mapping configuration page by configuring a created database configuration.

    


SettingDescription
NameSpecify a name for the configuration.
Asset TypeSelect an Asset Type that you want to import.
Selector

The selector is a SQL query. Enter the SQL query which you want to execute when connection established to the database. Data will be fetched from this execution result.

DatabaseExample
Microsoft SQL ServerSELECT * FROM Northwind.dbo.Customers
MySQLSELECT * FROM employees
OracleSELECT * FROM products
PostgreSQLSELECT * FROM "inventory_example"
Date FormatThis field is very necessary when a date value imported from a char field. If you are keeping date values in char fields please specify a date format.
Date Time FormatThis field is very necessary when a date-time value imported from a char field. If you are keeping date-time values in char fields please specify a date-time format.
DelimiterIf multiple values are kept in a char field, delimiter will split them while importing. Delimiter provides importing multiple select attributes like Checkbox, List Box - Multiple.
Define Non-Existing Attribute Options

When imported value is not an option for the attribute this option provides you to define these values as a new option for attributes like Checkbox, Dropdown List, List Box, List Box - Multiple, Radio Button.

Ignore Attribute ExistenceWhen an attribute is not defined in asset type schemes of selected asset type with this option provides the asset created without undefined attribute value. Otherwise, the asset will not be created.
Delete Missing ObjectsThis option provides full synchronization with the database. If this option is enabled, the synchronization system will delete the manually created assets(the assets which are not imported from the database) in selected asset type.
Update Multiple ObjectsIdentifiers(You will see in the Field Mapping configurations) provides the asset uniqueness. When multiple assets found with the identifier search this option decides they all found assets will be updated or non of them.
Ignore Empty ValuesIf imported value is an empty value, with this option you disallow to import them.
Ignore Invalid ValuesWhen an imported value is not invalid for an attribute, the asset will not be created. With this option, the asset will be created without the attribute which have invalid value.
Is Active

When this option is disabled synchronization will not work for this Asset Type Mapping.

Note: Asset Type Mapping can't be activated without Asset Name Field Mapping is defined.


Field Mapping


  • No labels