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

Is there a way to create a child workitem on save depending on the selection of a checkbox

Hi,
I do have the following problem/challenge in RTC 5.0.x... I modified a workitem in the Editor Presentation in the RTC client to contain a checkbox. If this checkbox is selected a new work item should be created during the save operation of the workitem. How can I achieve this?
PS:
I know in terms of template I'm ableĀ  to create child workitems, but I'm having some challenge in getting the dynamic title of the parent being copied into the child item and not always need the child item (dependent on the selection of the checkbox).
Guenther

0 votes



2 answers

Permanent link

The editor presentation does not matter. What matters is that it is an attribute value accessible in the save operation.

You could use https://rsjazz.wordpress.com/2016/10/24/using-the-work-item-server-api-to-create-work-items/ and create the work item in a follow up action/participant.

All the other API and examples are also available in the blog, including links to the Extension workshop.

0 votes


Permanent link

Thx. for the quick answer... let me give it a try..

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

Question asked: Jul 08 '17, 10:30 a.m.

Question was seen: 1,726 times

Last updated: Jul 08 '17, 12:59 p.m.

Confirmation Cancel Confirm