How constraint a link creation between to artifacts in one-way matter
How constraint a link creation between to artifacts?
For exemple I have two artifacts Artifact A and Artifiact B then I created a Satisfaction link constraints therefore the relationship is: Art A -> safisies (outgoing way) -> Art B and Art B -> satisfied by (incoming way)> Art A
How can I force a user to always create/make links in outgoing way
How can I generate rules?
thanks in advance
|
4 answers
I'm assuming that:
- you have read the FAQ: https://jazz.net/forum/faq/
- you have tried some things, but simply not reported them.
- you are using DNG / RM
-you used: Administration/Manage Component Properties: Link Constraints
So what is the problem?
Comments
Hugh Lippincott
commented Jan 25 '19, 10:31 a.m.
The forum question below implies that constrains only worked in a Project Area
until it was fixed in DNG 6.0.3. Does this apply?
Link Constraints feature not working for Custom created link types across PA in DNG 6.0.2 version
|
Hi Hugh, For your information I am working on DNG 6.0.6. I am the administrator of the platform and I want to parametrize the link types within a project area (not between different project) So I created/specified link types between customized artifacts and added constraints by means of "Link Constraints". But I want to add a rule "allow the user (author) to create ONLY the link from the child artifact (outgoing source) to the parent artifact (incoming source) and prevent the contrary |
Perhaps I don't understand the need.
While links have a directionality, DNG allows you to follow them either direction.
Your Link Constraints definition enforces creation in one link direction and prevents the link from pointing the other way.
DNG seems to be more supportive of creating that link from the source artifact, but that seems to depend on the type of artifact. I don't know that DNG will refuse to link while in the target artifact.
|
Hugh
I thank you understood my need.
for my understanding the DNG native link constraint allow to identify the artifacts types that shall be linked, the one that is the source and the one that is the target.
But organizational process purpose, I shall only allow the link creation from the source to the target.
Do you know a way to implement this rule.
Thanks in advance
|
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.