This link rule is a variation on the link
directive, in that it works with repeating rows. When an repeating row filter is specified, issues that have a repeating row that matches that filter are returned and linked. Note that it is issues that are linked, not repeating rows within issues.
This is consistent with ad hoc queries and other searches.
For example, you can find one or more repeating rows in a different business area, from which a value is to be retrieved:
<== linkrr rr_link ==> AREA=’Customer’, CUSTOMER=CUSTOMER
if (CUSTOMER.{contains (rr_link).RR_CUST_NAME}) {
CUST_NAME -= 'Customer Name'
}
Note that RR_CUST_NAME
is a User Defined Field on the repeating row and CUST_NAME
is a User Defined Field on the main issue.
If the directive does not include filters using repeating row fields, and may then return issues which contain the ID of the current issue, the current issue ID is not contained within the result set that is returned. If the directive contains a filter and the ID of the current issue is contained within the result set, then the current issue is contained within the result set.