Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

R4J- Change link type

Billy Christie December 12, 2023

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.)

1 answer

0 votes
Bernhard Doleschel (Ease Solutions)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 13, 2023

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events