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

how to create child workitems automatically when parent is created?

Hi All,

Scenarios below.

1. Assume I have a workitem(Defect) created and it is assigned for product A then a child workitem(Task) shoud be creatred automatically with defect as parent.

2. if the same workitem(Defect) is assigned to mutliple products (product a, product B and product C) then 3 child workitems(Task) should be created assigned to different products A,B and C.

Is this achievable?
if yes, how can I achieve this?

Regards,
Satish

0 votes


Accepted answer

Permanent link

See my answer in https://jazz.net/forum/questions/206897/how-to-create-child-work-items-automatically-in-rtc
You will have to also create the parent/child link and add that to the save.

Start here with extensibility: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ There are numerous examples in posts around all the stuff you will have to look at.

Satish Narayanachar selected this answer as the correct answer

0 votes

Comments
Hi Ralph,

I was able to create the work item automatically when parent is created however I am not able to populate comments/tags from parent to child.

Any inputs?

Thanks,
Satish

I am pretty sure the above links provide what you need already. In addition, seeĀ https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/

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
× 10,938

Question asked: Nov 16 '17, 4:53 a.m.

Question was seen: 2,088 times

Last updated: Oct 08 '18, 2:23 p.m.

Confirmation Cancel Confirm