Current Item Placeholder
The Export to MS Office workflow action is available to export the items of a tracker to Microsoft Word documents if a specific state transition defined in the tracker configuration is performed.
You can also select Reports as the source of tracker items for export to Word using the Export to MS Office workflow action.
With the use of the current item placeholder in Reports, the tracker items for export are dependent on the current item when the configured Export to MS Office workflow action is started.
|
In Reports, the current item placeholder can be used for:
• Use and save in the Export mode.
The current item placeholder is only available in cbQL and not supported on the user interface.
|
The 'current item' placeholder is implemented for the following resolvers:
• ItemID
• ParentID and ChildID
• Default reference fields: Subject, Release, Team, Platform, Area
• The 'current item' placeholder only works with the default reference fields if those are used as reference fields, and are not re-configured into other field types.
• Custom reference fields
Example:
item.id IN ('current item')
Using a report contains the current item placeholder as the source of tracker items to be exported in the context of an item. This means that when the Export to MS Office workflow action is started, the current item placeholder is replaced with the ID of the actual tracker item the status change of which triggered the workflow action.
Example:
Report Before the Workflow Action
|
Report When Running the Workflow Action
|
item.id IN ('current item', 1234, 5678)
|
item.id IN (4589, 1234, 5678)
|