Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When you install the Herzum Quick Linker add-on into your JIRA instance, the following tables are created in your JIRA database.

...

The image below shows the HAP Entity Relationship Diagram. 


The descriptions of the fields for each of the Herzum Quick Linker tables are detailed below.

Table: AO_3F6548_PARTNERSHIP

The Table holds Partnership configuration data

ColumnDescription
CONFIG_ID int(11) Not used. This field supports migration from older versions.
CONSISTENCY varchar(255) 

Admissible values for this field are:

  • 'Enabled' if Destination URL is reachable and login is successful
  • 'Disabled_Invalid_User' if login isn't successful.
CONSISTENCY_DESTINATION tinyint(1) 

Admissible values for this field are:

  • '1' if login on Destination URL is successful
  • '0' if login on Destination URL is not successful.
CONSISTENCY_SOURCE tinyint(1) 

Admissible values for this field are:

  • '1' if if login on Source URL is successful
  • '0' if if login on Source URL is not successful.
DESTINATION_PASSWORD varchar(255) The Password to login on the Destination URL.
DESTINATION_URL varchar(255) 

Destination URL.
DESTINATION_USERNAME varchar(255) 

The User account to login on the Destination URL.
ICON_ID int(11) 

The Icon Identifier.
ID int(11) AI PK 

The Unique Partnership Identifier (Primary Key).
NAME varchar(255) 

Partnership Name.
REMOTE_ID int(11) 

Partnership Identifier on the Remote JIRA instance.
SOURCE_PASSWORD varchar(255) 

The Password to login on the Source URL.
SOURCE_URL varchar(255) 

Source URL.
SOURCE_USERNAME varchar(255) The User account to login on the Source URL.
TYPE varchar(255)

Admissible values for this field are:

  • 'Local' if Source and Destination URL are the same 
  • 'Source' if Source URL is the Current JIRA instance and Destination URL isn't
  • 'Destinatin' if Destination URL is the Current JIRA instance and Source URL isn't.

SOURCE_SERVER_ID varchar(255) 

Server Identifier of the source JIRA instance

DESTINATION_SERVER_ID varchar(255) Server Identifier of the remote JIRA instance
DESTINATION_FIELD_ID  null when the destination field is a comment or an

Table: AO_3F6548_MAPPING

The Table holds Mapping configuration data

ColumnDescription
CONFIG_ID int(11) Not used. This field supports migration from older versions.
CUSTOM_FIELD_MAPPING varchar(255) Not used. This field supports migration from older versions.
DESTINATION_ISSUE_TYPE varchar(255) The "to" Issue Type Identifier.
DESTINATION_PRIORITY varchar(255) The priority Identifier for issues created by the escalation post function.
DESTINATION_PROJECT varchar(255) The "to" JIRA Project Identifier.
POPUP_ENABLED tyniint(1)Not used. This field supports migration from older versions.
FIELDS varchar(255) Not used. This field supports migration from older versions.
HAS_QLFUNCTION tinyint(1) 

Admissible values for this field are:
'0' if Quick Action Button/Post Function isn't flagged
'1' if Quick Action Button/Post Function is flagged.

ID int(11) AI PK The Unique Mapping Identifier (Primary Key).
LABEL varchar(255)The Button label.
LINK varchar(255) Identifier of the JIRA issue Link.
LINK_TYPE varchar(255)

Admissible values for this field are:

  • 'Both' if selected Link Type is both
  • 'Quick Link' if selected Link Type is Quick Link
  • 'JIRA Link' if selected Link Type is JIRA Link.
PARTNERSHIP_ID int(11) The Partnership Identifier.
REMOTE_MAPPING_ID int(11) The Remote Mapping Identifier.
SOURCE_ISSUE_TYPE varchar(255) The "from" Issue Type Identifier.
SOURCE_PROJECT varchar(255)The "from" JIRA Project Identifier.
LINK_VERSUS_OUT_IN tyniint(1)

Admissible values for this field are:

  • '1' if selected Link versus is Outward/Inward (Default)
  • '0' if selected Link versus is Inward/Outward
SYSTEM_USER_CREDENTIALS tyniint(1)

Admissible values for this field are:

  • '1' If Allow issue creation/linking via partnership credentials is set to False (Default)
  • '0' If Allow issue creation/linking via partnership credentials is set to True
SCHEMA_PATTERN_REL_ID int(11) Identifier of the Scheme/Pattern association.

Table: AO_3F6548_FIELDS_MAPPING

The Table holds Mapping configuration data for issues field sync

ColumnDescription
LINK_ACTIONS varchar(255)

Admissible values for this field are:

  • 'CreateLinkingPlusLinkExisting' the Create&Linking button and Link Existing button are all two displayed (Default)
  • 'CreateLinking' the Create&Linking button is displayed exclusively
  • 'LinkExisting'' the Link Existing button is displayed exclusively

Table: AO_3F6548_FIELDS_MAPPING

The Table holds Mapping configuration data for issues field sync

ColumnDescription
DESTINATION_FIELD_ID varchar(255) 

Admissible values for this field are:

  • null when the destination field is a comment or an attachment
  • the description of the destination field when the field isn't a custom field or a Comment or an Attachment
  • the string 'customfield_ ' & destination custom field id when the destination field is a custom field.
DESTINATION_FIELD_NAME varchar(255) The Destination field description.
ID int(11) AI PK The Unique Field Mapping Identifier (Primary Key).
MAPPING_ID int(11) The Mapping Identifier.
SOURCE_FIELD_ID varchar(255) 

Admissible values for this field are:

  • 'Comment' or 'Attachment' when the source field is a comment or an attachment
  • the description of the source field when the field isn't a custom field or a Comment or an Attachment
  • the string 'customfield_ ' & source custom field id when the source field is a custom field.
SOURCE_FIELD_NAME varchar(255)

The Source field description.

SYNC_DIRECTION varchar(255) 

Admissible values for this field are:

  • SOURCE when sync direction is from source to target
  • DESTINATION when sync direction is from target to source
  • BOTH when sync direction works in both direction depending by the most recent update.
SYNC_ENABLED tinyint(1)

When a new mapping is defined two field mappings for comments and attachments are automatically created having SYNC_ENABLED=0.

Admissible values for this field are:

  • 0 when the field mapping isn't enabled
  • 1 when the field mapping is enabled.
SYNCH_ON_CREATE tinyint(1) 

Admissible values for this field are:

  • '0' if Sync on create is set to False
  • '1'if Sync on create is set to True (Not allowed for Assigee and Reporter)
  • Null if Sync on create is not set (Comments and Attachment) or due to Old Sync configuration (equal to False).
NULL_ON_MISALIGNMENT tinyint(1) 

Admissible values for this field are:

  • '0' if Null on misalignment is set to Leave current value
  • '1'if Null on misalignment  is set to Null (Default for older configuration)
MAPPING_PATTERN_ID int(11) The Mapping Pattern Identifier.

...

Table: AO_3F6548_TOKEN_INFO

System Table maintaining temporary data for sync management

ColumnDescription
ID int(11) AI PK The Unique Token Identifier (Primary Key)
ISSUE bigint(20) The Issue Identifier of the issue receiving the token.
TOKEN varchar(255) The Token identifier. It is obtained concatenating the strings “SERVER_ID” and ”TOKEN_INFO.ID
UPDATED_FIELD_LIST varchar(255)List of synced fields associated to the token.
CREATION_TIME bigint(20)Creation time that token is stored, in milliseconds.

ATTACHMENT_SYNC_LIST longtext

List of synced attachments associated to the token.

Table: AO_3F6548_SCHEME_PATTERN_REL 

The Table holds the associations between Schemes and Mapping Patterns

ColumnDescription
ID int(11) AI PK         The Unique Mapping Pattern/Scheme association Identifier (Primary Key)              
MAPPING_PATTERN_ID int(11)The Mapping Pattern Identifier 
MAPPING_SCHEME_ID int(11)The Mapping Scheme Identifier 

Table: AO_3F6548_PROJECT_SCHEME_REL  

The Table holds the associations between Schemes and Projects

ColumnDescription
ID int(11) AI PK         The Unique Mapping Scheme/Project association Identifier (Primary Key)
MAPPING_SCHEME_ID int(11)The Mapping Scheme Identifier
PROJECT_ID bigint(20)The Project Identifier

Table: AO_3F6548_MAPPING_SCHEME   

The Table holds the Mapping Schemes

ColumnDescription
ID int(11)11) AI PK         The Unique Mapping Scheme Identifier (Primary Key)
PROJECT_ID bigint(20

SCHEME_DENOMINATION varchar(255)

The Project IdentifierMapping Scheme denomination
Description

Table: AO_3F6548_MAPPING_

SCHEME  

PATTERN    

The Table holds the Mapping Schemes

Column

the Mapping Patterns

ColumnDescription

HQL_LINK_TYPE varchar(255)

Admissible values for this field are:

  • 'Both' if selected Link Type is both
  • 'Quick Link' if selected Link Type is Quick Link
  • 'JIRA Link' if selected Link Type is JIRA Link.
ID int(11) AI PK         PK The Unique Mapping Scheme Pattern Identifier (Primary Key)SCHEME_DENOMINATION )
ISSUE_LINK_TYPE bigint(20)Identifier of the JIRA issue Link.
LABEL varchar(255)The Mapping Scheme denomination

Table: AO_3F6548_MAPPING_PATTERN    

The Table holds the Mapping Patterns

ColumnDescription
HQL_LINK_TYPE varchar(255Button label.
LINK_VERSUS_OUT_IN tinyint(1)

Admissible values for this field are:

  • 'Both' if selected Link Type is both'Quick Link1' if selected Link Type is Quick Linkversus is Outward/Inward (Default)
  • 'JIRA Link0' if selected Link Type is JIRA Link.versus is Inward/Outward
PARTNERSHIP_ID int(11) AI PK The Unique Mapping Pattern Identifier (Primary Key)
ISSUE_LINK_TYPE bigint(20)Identifier of the JIRA issue Link.
LABEL Partnership Identifier.
SOURCE_ISSUE_TYPE varchar(255)The Button label"from" Issue Type Identifier.
LINKSYSTEM_VERSUSUSER_OUT_IN CREDENTIAL tinyint(1)

Admissible values for this field are:

SOURCE
  • '1' if selected Link versus is Outward/Inward (Default)
  • '0' if selected Link versus is Inward/Outward
PARTNERSHIP_ID int(11)The Partnership Identifier.
  • If Allow issue creation/linking via partnership credentials is set to False (Default)
  • '0' If Allow issue creation/linking via partnership credentials is set to True
TARGET_ISSUE_TYPE varchar(255)The "fromto" Issue Type Identifier.
SYSTEM_USER_CREDENTIAL tinyint(1LINK_ACTIONS varchar(255)

Admissible values for this field are:

  • '1' If Allow issue creation/linking via partnership credentials is set to False CreateLinkingPlusLinkExisting' the Create&Linking button and Link Existing button are all two displayed (Default)
  • '0' If Allow issue creation/linking via partnership credentials is set to True
TARGET_ISSUE_TYPE varchar(255)The "to" Issue Type Identifier.
  • CreateLinking' the Create&Linking button is displayed exclusively
  • 'LinkExisting'' the Link Existing button is displayed exclusively