Import from Microsoft Word #834055/HEAD / v174 |
Tags:
not added yet
Table of Contents
OverviewWith the Microsoft Word import functionality you are able to import work items into your trackers. Content of the documentThe Word document should be structured using Word styles: after the import the heading styles will be the summaries of the work items, the paragraphs after the headings with normal styles will be the descriptions. The different levels of heading styles will make the parent-child relation between the work items. Example: at the image you can see a part of a document, Transmission has Heading 1 style, Transmission TC and Default: Continuously variable has Heading 2, Minimum Torque has Heading 3.
codebeamer's Word Import function can handle 5 levels of hierarchy in the imported document.
Completing a Word Import with items exceeding the hierarchy level limit, the affected items are dislocated.
After import, we will have the following work item tree structure:
Import screencodebeamer has a general import screen, Import menu item is available in the More menu of the action bar of the tracker home page (table view or document view).
Select Microsoft Word and click to Attach a file... or drag and drop the file into the area to upload document. After the uploading will be finished, click on Next to navigate to the Preview screen. Note: importing from Word is not possible if the current tracker has some mandatory fields beyond the Summary and Description fields. In this case a warning appears and it is not able to click on Next button. You can modify the Field settings of the tracker or begin import from another tracker. Preview screenThe next page is the Preview screen where you can see the preview of the work item structure and content and furthermore you can filter and set the work items and define other import rules.
Part of the Preview screen:
Define Import rulesYou can define Import rules with specific actions and conditions. The rules are for what you would like to do with the work items if the defined conditions are met. As default you get the following rule which means, that all of the items in the document will be imported into the current tracker.:
You can modify the default rule, and also you can add more rules (+ button below the default rule) or delete an existing non-default rule (X button on the top right corner of the rule). If you are ready with setting the rules, click on Preview button to see which work item will be applied for which action according to the rules and their conditions. The conditions of the several rules can be overlapped, in this case always the action of the latest rule will be applied to the work item. A rule has the following sections:
Action selectorAvailable rule actions are the followings:
Work item filter selectorYou can define where (in which work item branch or in the whole document) the rule will be applied. In the list you can find only the work items which has child items. You can also select multiple work items. Logical operator selectorTwo options available:
ConditionsYou can select several kinds of conditions. The condition types are the followings:
If you would like to add more conditions to the rule, click on + Add new Condition. For remove a condition, click on the X button next to the condition. Overwrite rulesYou are able to overwrite the actions for individual work items. The controls you can use:
If rules were applied before and you try to set actions for individual work item, a warning appears, which is about it can overwrite the set rule actions. Similar warning appears if you set actions for work items individually and after that you apply some rules. Rules ExampleWe have a document with Tasks, Requirements and Test Cases. Basically we would like all items to be imported into the Task tracker, except:
Start import from the Tasks tracker, upload document and click on Next. Now you can see the Preview screen and can set the rules. First rule should be the default rule:
Click on the big + sign to add the second rule for importing into the Customer Requirements Specification tracker and set as follows:
Alternatively you can use only one condition for using match regex option and the following regular expression:
Add a new third rule for importing into the Test Cases tracker and set as follows:
Click on the Preview button, you can see in the Statistics box, how many items will be imported into which tracker. You can check also in the center pane which item will be imported and into which tracker.
Click on Save to import items. Import work itemsIf you are ready in the Preview screen (you set desired rules / set actions for work items individually), click on Save button to finish importing. The page is navigated back to the home page of the trackers, and an information dialog shows, how many work items are imported. Work items will be created according to their actions (import to the current tracker, import into another tracker, etc.). Parent-child relation also remains if work items imported into a common tracker. If child elements are imported into another tracker, a "depends on" type association will be created between the work items. Furthermore if some fields of the tracker of the child item can accept work items from the tracker of the parent item, it will be also filled out (e.g. if parent item is imported into Tasks tracker, its child item imported into Test Cases tracker, the Verifies field of the child item will contain the parent item, because Verifies field can accept work item from Tasks tracker). TroubleshootingHow to fix if a Word import fails with an error message?See: How to fix if a Word import fails with an error message? What if my Word style does not appear in the style selector of the Word import?As described earlier here: the Heading1 / Heading2 etc... styles in the Word document are used to split the Word document into parts: the paragraph with a Heading style will be used as name of the new Work Items, and any paragraphs between the Heading styles are imported as the "description" of the Work items. The custom Word styles which are based on the "Heading X" style in Word as Heading styles: these paragraphs will be imported as Name of the Work item too. So if you have a custom Word style which does not appear on the Word import GUI, but you want to use it as Name of the Work items then you need to modify that Word style in Word to be "based on" a "Heading X" style. The following video illustrates how to do that:
Inconsistent Line Spacing After Import and Export to MS Word Through a TemplateIf an exported Word document has inconsistent line spacing behavior when pressing ENTER or SHIFT+ENTER, as in the following picture:
Ensure that Word uses the default Word Normal template with no styling customizations. To reset the Word Normal template to its default state:
See the PTC Support article www.ptc.com/en/support/article/CS419606 for detailed information. How to import WMF/EMF contentSee: How to importing WMF and EMF content from Word |
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.