This workflow actions can copy fields from another specified Work Item to the Work Item which is currently undergoing the status change.
If you want to create Work Items with initial content, you should also check out the following plugin, which is more sophisticated than to click "save" to get the predefined content.
Attributes which can be set
|Attribute name||Description||Example||Allowed values||required|
|project.id||specifies the project in which the work item is located from which fields should be copied||project.id=myProject||any project id||yes|
|item.id||specifies the id of the work item from which fields should be copied||item.id =WI-37||Any string, if you check an enumeration field you should use enum.id||yes|
|copyfields||comma seperated list of fields which should be copied from work item specified above||copyfields=description,severity||following fields are currently supported:
When a Work Item is created you can have already some predefined values e.g. in description fields. To achieve that you must call the workflow in the initial workflow action. In most cases this action will be called "init".
Extract from workflow.xml
<action id="init" name="Init">
<param name="project.id" value="library"/>
<param name="item.id" value="WI-91"/>
<param name="copyfields" value="description"/>
copy the jar file into Polarion/polarion/plugins directory and restart Polarion
The function appears in the list when you configure the workflow functions for your workflow action.