It's all about the answers!

Ask a question

How to customize items created with workitem template?


Sedat kara (23418) | asked Nov 24 '14, 8:06 a.m.
 Hi, 
I've created a workitems with template. I followed the steps to create Workitem template (select the existing templates and do "create workitem template).
Now, when I create workitems using the template I get them created with the same attribute values as the workitems used to generate the template (same summary for example), which is good is in a certain extent because I would like to specify some of them for each workitem that I create such as summary, due date or some other attributes. 

What is wrong with me understanding of the usage of workitem templates ? 

Thanks

One answer



permanent link
Ralph Schoon (57.1k23642) | answered Nov 24 '14, 8:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The work item template describes fixed attributes that are used to set the initial value for the new work item(s).

Once the template has created the work item(s) the user can change all work items as required.

The templates are pretty much static. If you want to have more automation (e.g. automatically calculate something in the summary) you would need to use one of the possible automation approaches.

Comments
Sedat kara commented Nov 24 '14, 9:44 a.m.

 Ralp, 


First of all thanks to understand my needs, I don't know if my need was clearly expressed. 
What are these automation approaches ? :)


Ralph Schoon commented Nov 24 '14, 9:51 a.m. | edited Nov 24 '14, 9:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
  1. AttributeCustomization https://jazz.net/wiki/bin/view/Main/AttributeCustomization can provde limited capabilities for work item creation. It only works within one work item. The information available during creation of a work item (default providers) is very limited though.

  2. Java value providers (https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ ) have more capability.

  3. It is possible to create work item save follow up actions (https://jazz.net/library/article/1000) that do more. E.g. create multiple child work item and use process information to populate the work item summaries.

    2 and 3 are more capable but also more heavyweight. 1 and 2 and potentially 3 could work after the process template ran. 3 can do more than the templates today.

Your answer


Register or to post your answer.