Community
Thumb_logo

Workflow Function: CopyFromWi - copy fields from other Work Items

 Allows you to copy fields from other Work Items into Work Item which is undergoing status change.This is helpful if you want to fill new Work Items with values from a template item.

Description

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.

Work Item create template

 

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:
  • severity
  • priority
  • description (no images and attachments)
  • timePoint
  • dueDate
  • initialEstimate
  • remainingEstimate
  • assignee
yes

 

 

Example Scenario

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">
           <functions>
               <function name="CopyFromWI">
                   <param name="project.id" value="library"/>
                   <param name="item.id" value="WI-91"/>
                   <param name="copyfields" value="description"/>
               </function>
           </functions>
       </action>

 

Installation

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.

Information

Vendor Tim Pence (Siemens PLM)
Published Version 1.0.7 - January 2014
Categories
Products
Price Free
168 Downloads
Community Supported Extension This extension is not supported by Siemens PLM.
Requirements Polarion ALM or Polarion Requirements server.

Related Extensions