It's all about the answers!

Ask a question

Advance customization by javascript


VERT Eric (1533) | asked Jun 14 '12, 7:19 a.m.
Hello,

I have a structure of workitem based on the model parent-child.

In the parent workItem i have some customs attributes and when I create or modify the parent workItem, i want to put the child on the correct cotagory (filledAgainst) depends on the value of the custom attribute of the parent WI

is there somebody know how to do ?

regards

4 answers



permanent link
Ralph Schoon (60.9k33643) | answered Jun 14 '12, 9:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

as far as I know this can not be dine using Javascript today. I think you can not follow relationships with it.

permanent link
VERT Eric (1533) | answered Jun 26 '12, 3:18 p.m.
Ok, but what is the solution ?

permanent link
VERT Eric (1533) | answered Jun 26 '12, 3:18 p.m.
Ok, but what is the solution ?

permanent link
Ralph Schoon (60.9k33643) | answered Jun 26 '12, 5:52 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can create a followup action (or a precondition) as a server extension using Java. Search the Library for Extension and Extending for some articles. https://jazz.net/library/article/784 is a good entry point if you followthe enclosed links. There are also several questions and answers in the forums ans WiKi articles you can find using the advanced search.

I once found example code for your use case but I can't relocate it. But I think I answered some code to a similar question.

Your answer


Register or to post your answer.