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

How to create a new work item based on the value of an attribute?

I've gotten this request from my team:

We have a "Story" work item, and we have a set of custom attributes (Yes/No fields).  They have asked that If the value of one of these custom attributes is changed from No to Yes, that RTC automatically creates a new Task work item, sets the Parent of this newly-generated task to the Story work item that contains the custom attribute that was changed to Yes.  In addition, they want to only generate this new Task work item if it has not already been generated once (for example, changed no->yes (task generated), changed yes -> No (and canceled task) and then no -> yes (if task is canceled, then reopen the existing one.).

Is this at all possible? Anybody have experience doing this already?
Susan

0 votes



2 answers

Permanent link
Hi Susan, I am just stating my thoughts based on my understanding...
I am not aware if it is possible to triggering a workitem creation on a value change of an attribute and it may not be a good idea either considering if you select a wrong value than desired.
You may know already that this could be possible on a save operation by writing a custom plugin. You may also write an application using plain java client APIs which may search the workitems and when a particular condition is satisfied it will trigger a workitem creation, but I think the drawback of this process is that the program either needs to be trigger manually or scheduled.
You may want to look at the wiki on Programatic creation of workitems to explore more.

1 vote


Permanent link
there is nothing 'out of the box' to do this..

but you could create an extension (participant) to accomplish these tasks.

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: Jun 07 '13, 7:55 a.m.

Question was seen: 4,090 times

Last updated: Jun 07 '13, 9:51 a.m.

Confirmation Cancel Confirm