Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Link Constraints feature not working for Custom created link types across PA in DNG 6.0.2 version

Hello,
I encountered that "Link Constraints" for 'Custom link types' work only within the scope of Project Area, and not across the different project area's in Doors Next Generation 6.0.2 version.
Can anyone explain why?

0 votes



2 answers

Permanent link
It really depends on how you configure the Link Constraints. If you specify an artifact type for both the source artifact and the target artifact, the specified link type will be limited to the current project area only. If you need the rule to apply across project areas, either the source or the target has to be ANY. The document actually clearly states this.
http://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.2/com.ibm.rational.rrm.help.doc/topics/c_link_constraints.html

One critical concept that you need to understand is that, artifact types with the same name in different project areas are actually _different_ types. For example, "Feature" in project A is not the same as "Feature" in project B. This implies that, you cannot set a link constraint such that a specific artifact type can only link to another specific artifact type in the other project, at least for now.

A second thing to note is that while ANY allows cross-project links, it also allows linking to _any_ artifact types within the same project area.

And lastly, less restrictive rules override restrictive rules. For example, if there are three rules - "Feature > Child Of > ANY", "Feature > Parent Of > ANY" and "Feature > Child Of > Feature", then the last one has no effect.

1 vote

Comments

Thanks for the information. As you said cross project linking works fine for system defined link types (if link constraints are set to “Any”), but if I create my own custom link type and use the link constraint in the same way as used for system defined link types, it does not work.

So here my question is more specific to Custom Link types, not system defined link types.Have you came across this scenario?. Thanks!


Permanent link
There was work done on this in 603, and I believe this should be working as you expect in 603.

0 votes

Comments

Does this mean that in 6.0.3 we can use link constraints cross-project in a GC as per intern in a project (I assume RDF URI will be used to map contraints also x-project)?

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,122
× 1,381

Question asked: Oct 06 '16, 12:53 a.m.

Question was seen: 3,821 times

Last updated: Jan 30 '18, 7:38 a.m.

Confirmation Cancel Confirm