Original request description (original description was blank, so let's use one of the duplicates' description for clarity):
It would be handy to have the possibility to bulk change the type of one, more or all issue links when viewing the "link administration" of a certain issue. E.g. when one wants to change all "subissues" to "related issues". Now this can only be achieved by removing the links and recreating them as the new link types.
Create an automation rule:
Chose any type of trigger depending on your use case. If you only want to do it once, you may want to choose Scheduled trigger then run the rule manually.
2. Add Component > New Branch > Branch rule/related issues > Type of related issues > JQL:
Specify the JQL query returning the issues you need to edit.
Ensure there are no order by clauses and the issue you'll need to link to is not included in the query.
To include a list of issues, the JQL can be:
key in (key-1, key-2, key-3 etc)
3. Add Component > Action > Link Issues:
4. Publish and Run Rule.
5. Delete the rule if the issues were linked successfully.