We have 2 instances, and each has it’s own set of issue link types. The intended behavior is to have Exalate check when the issue link type is passed, and if it does not exist locally it will change the issue link to a specific type.
Each link in the array has different properties that will need to be changed to match the desired type. From the code below, you will need to change “linkList” to match the link names available in the local instance, and the properties in the “else” statement to the linktype you want to assign when a match is not found( “relates to” was used for the properties below).