EOL NOTE: We are moving Exalate for HP QC/ALM into basic maintenance mode. This transition period will last until June 2024, after which support will be halted completely. For more information, please see https://exalate.com/blog/end-of-support-hp/.
This article shows how to synchronize defects and test cases in HP ALM/QC.
Exalate allows you to synchronize the following entities in HP ALM/QC:
- Test case (Test Lab module)
You can add sync rules to every entity type separately.
Check the reference of supported fields and entities that you can synchronize from HP ALM/QC instance.
To synchronize multiple entity types, you need to adapt the sync rules using if blocks. This helps Exalate distinguish sync rules for different entity types. Check the examples below:
To send defects and testCases use the code below
Destination Side HP ALM/QC
You need to map the incoming entities. For example:
- Jira issue of type bug to the HP ALM/QC defect
- Jira issue of type story to the HP ALM/QC test case
Below you can find some examples of mapping multiple issue types from Jira to different entities in the HP ALM/QC.
If you want to sync multiple entities in one connection, add the following code at the beginning of your Incoming sync rules.
def defaultEntityType = 'defect' //Please change the defaultEntityType to 'testCase' to create test cases by default if(firstSync) entityType = defaultEntityType else entityType
To create defects with the received information on your side, add the code below.
To create test cases with the received information on your side, add the code below.
To start the synchronization, create a trigger for every entity type separately.