Half way through creating a whole bunch of links (manually... there doesn't seem to be a way to automate this), R4J suddenly changed the link type from "traced by" to "traces to", i.e. completely the opposite direction.
I didn't notice because previously, the tool was remembering my previous setting.
Is there a way to filter for affected objects then change the link type?
I don't want to have to manually delete all the problematic links and re-create them by hand.
(DOORS would allow me to automate this.)
Hello @Billy Christie ,
R4J uses the link relations setup in Jira, but does not change them. In Jira each issues links with an inward and outward relation to the connected issue. When you create a link relation you can choose which one you set (traced by OR traces to), Jira saves the opposite one in the connected issue (traces to OR traced by). Which one is the inward or outward link? Only your Jira admin can tell as they set it up.
To identify the affected linked issues you can use the Jira Advanced Query Language (JQL), Example to find all issues in project ABC of type requirement having and (I assume wrong) link relation "traced by":
project = "ABC" AND issuetype = "Requirement" AND issueLinkType = "traced by"
I´m sorry, Jira does not offer an bulk change (or delete) of link relations.
You could use the above query in the R4J filter, so the tree list only the affected issues. In the link section of the detail view is a button to modify the link manually. (I know, this is not your prefered solution).
A scripted option would be to create e.g. a python script using the JIRA REST API´s to iterate over the issues, remove wrong link and apply new one.
Best Regards,
Bernhard from Ease Solutions
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.