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

Advance customization by javascript

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

0 votes



4 answers

Permanent link
Hi,

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

0 votes


Permanent link
Ok, but what is the solution ?

0 votes


Permanent link
Ok, but what is the solution ?

0 votes


Permanent link
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.

0 votes

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,121

Question asked: Jun 14 '12, 7:19 a.m.

Question was seen: 6,659 times

Last updated: Jun 26 '12, 5:52 p.m.

Confirmation Cancel Confirm