How to customize items created with workitem template?
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
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.
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
Ralp,
First of all thanks to understand my needs, I don't know if my need was clearly expressed.
What are these automation approaches ? :)
- 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.
- Java value providers (https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ ) have more capability.
- 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.