N-level relationship ?

Hi, I'm using OTRS 3.1.21 on a debian 7. I've noticed that I can link ticket with others as parent/child relation. However I wonder know if I can do this : - my parent - has a child - but also a grand child - and an other little child - .... Thanks,

Did you try it? What did you encounter? Was it what you expected? If yes,
you wouldn't ask this question, If no, you'd ask a different question.
On Wed, Jul 30, 2014 at 6:33 AM, Marwan Rabbâa
Hi,
I'm using OTRS 3.1.21 on a debian 7. I've noticed that I can link ticket with others as parent/child relation.
However I wonder know if I can do this :
- my parent - has a child - but also a grand child - and an other little child - ....
Thanks,
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Hi,
Thanks for reaching me out. I've tried it.
I've create a ticket, two children, and two grand children.
Unfortunately, the method :
******************************
$LinkObject->LinkList(
Object => 'Ticket',
Key => $parent,
Object2 => 'Ticket',
State => 'Valid',
Type => 'ParentChild',
UserID => 1,
);
******************************
return a list of the first level of children.
I expected a list of n-level, children, grand children
2014-07-30 14:31 GMT+02:00 Gerald Young
Did you try it? What did you encounter? Was it what you expected? If yes, you wouldn't ask this question, If no, you'd ask a different question.
On Wed, Jul 30, 2014 at 6:33 AM, Marwan Rabbâa
wrote: Hi,
I'm using OTRS 3.1.21 on a debian 7. I've noticed that I can link ticket with others as parent/child relation.
However I wonder know if I can do this :
- my parent - has a child - but also a grand child - and an other little child - ....
Thanks,
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Can you link grandchildren (by way of parent-child relationship established
at each child having a child)? Yes
The real question is not that. The real question is: How can I display
linked grandchildren in a grandparent?
You apparently cannot, and for generally the good reason that the overhead
is a pain. Just like Active Directory Users and Computers, you'll only see
individuals and groups (but not members of groups) just under a given
group. It's not practical but probably can be custom programmed.
On Wed, Jul 30, 2014 at 8:42 AM, Marwan Rabbâa
Hi,
Thanks for reaching me out. I've tried it.
I've create a ticket, two children, and two grand children.
Unfortunately, the method : ****************************** $LinkObject->LinkList( Object => 'Ticket', Key => $parent, Object2 => 'Ticket', State => 'Valid', Type => 'ParentChild', UserID => 1, ); ****************************** return a list of the first level of children.
I expected a list of n-level, children, grand children
2014-07-30 14:31 GMT+02:00 Gerald Young
: Did you try it? What did you encounter? Was it what you expected? If yes,
you wouldn't ask this question, If no, you'd ask a different question.
On Wed, Jul 30, 2014 at 6:33 AM, Marwan Rabbâa
wrote: Hi,
I'm using OTRS 3.1.21 on a debian 7. I've noticed that I can link ticket with others as parent/child relation.
However I wonder know if I can do this :
- my parent - has a child - but also a grand child - and an other little child - ....
Thanks,
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

And how can I program a recursive function running on a deep tree on my
relationship ? (I'm not a perl programmer)
2014-07-30 14:56 GMT+02:00 Gerald Young
Can you link grandchildren (by way of parent-child relationship established at each child having a child)? Yes The real question is not that. The real question is: How can I display linked grandchildren in a grandparent?
You apparently cannot, and for generally the good reason that the overhead is a pain. Just like Active Directory Users and Computers, you'll only see individuals and groups (but not members of groups) just under a given group. It's not practical but probably can be custom programmed.
On Wed, Jul 30, 2014 at 8:42 AM, Marwan Rabbâa
wrote: Hi,
Thanks for reaching me out. I've tried it.
I've create a ticket, two children, and two grand children.
Unfortunately, the method : ****************************** $LinkObject->LinkList( Object => 'Ticket', Key => $parent, Object2 => 'Ticket', State => 'Valid', Type => 'ParentChild', UserID => 1, ); ****************************** return a list of the first level of children.
I expected a list of n-level, children, grand children
2014-07-30 14:31 GMT+02:00 Gerald Young
: Did you try it? What did you encounter? Was it what you expected? If yes,
you wouldn't ask this question, If no, you'd ask a different question.
On Wed, Jul 30, 2014 at 6:33 AM, Marwan Rabbâa
wrote: Hi,
I'm using OTRS 3.1.21 on a debian 7. I've noticed that I can link ticket with others as parent/child relation.
However I wonder know if I can do this :
- my parent - has a child - but also a grand child - and an other little child - ....
Thanks,
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
participants (2)
-
Gerald Young
-
Marwan Rabbâa