Document View for Requirements #84895/v163119 |
Tags:
not added yet
Document View for RequirementsTable of Contents
What is a Document View?Document View is a special type of view of issues. In Document View you can overview your issues as if they were the paragraphs of a single document: a numbered paragraph is created for each issue (paragraph numbers mirror the hierarchy of the items). You can both read or edit these paragraphs. Document View is available only on Requirement and Test Case trackers. When you navigate to a tracker where this type of view is supported you will find the document view icon on the breadcrumb.
Clicking this open will open the view for you. On the trackers that support it the document view is the default view. To return to table view you can use the first icon on the figure. Please note that there is more than just the default document view, which shows you all issues in the tracker. You can easily create a custom view of this type, for which you can specify a detailed filter to decide which issues to include in the document. To do this, click "New View" in the menu of the corresponding tracker (the menu can be accessed by clicking on the menu icon which is the last icon on the above picture).
Here you can specify the filter conditions, the name of the view etc. Make sure to select "Document" from the "Layout" selector.
After the view was created it will show up in the view list of the tracker:
Document View will help you in many ways. Most importantly it will make the navigation and the reorganization of the issues much easier. Navigating in Document ViewsThe layout of a Document View looks like the following:
There are three panes: the left-side one containing the requirement tree, the middle one containing the generated document itself and the right pane containing the test plan (if there's a test case tracker configured), releases and properties tab. All issues in the tracker (or the ones that match the filter conditions of the view) appear in the requirement tree and in the document also. In the requirement tree they are shown in a parent-child hierarchy, with the root node containing the name of the tracker. The navigation is easy: when you click a node in the tree the document will automatically "scroll" to the corresponding paragraph and the properties tab on the right side will show its properties. The splits between the three panes can be resized by moving the gray bar between them. Or, if not needed, the requirement tree and the right side panel can be hidden by clicking the white triangle icon on the top of them. Organizing the issuesBeside simply navigating between the issues you can also re-organize them in document view. You can easily move elements in the requirement tree. Just grab a node and move it. You can easily change the order of the issues under the same parent or you can move an issue under an other parent. You can move multiple issues at the same time. The requirement tree will suggest you (using meaningful icons) whether a move is possible:
The requirement tree will also allow you to add new issues, to delete existing ones and to use the copy-paste functionality of codeBeamer. You can access these options in the context menu (see
You can also add folders for better organizing your issues. To do this just right click on a folder or the root node and select the New Folder item from the context menu. Note, that you can copy and paste items in the same tracker and between different trackers, too. If the source and the target trackers have different fields you have to map them to each other manually:
That is, you can tell codeBeamer where to store the field values for which there's no matching field in the target tracker. You have to do this only once even when pasting multiple issues. The same context menu is available on the middle pane of the view: just click on the arrow icon after each section's name. One other way of adding new issues: click the plus icon in the header of the tree:
This will add a new node to the requirement tree which you can rename and the new issue is created. The new node will be added as the last child of the currently selected item. Link requirements with test casesThis functionality is available only in the document view of requirement trackersOn requirement document view you can easily link requirements with the test cases that verify them. The first tab of the right side panel contains a tree of test cases. These test cases come from those trackers in which the Verifies field points to this requirement tracker.
If you want to remove the reference between a requirement and a test case just right click the test case in the requirement tree and select the Remove menu item. To link a test case with a requirement just drag the test case from the right side panel to the target requirement in the left tree and drop it. This will set the Verifies field of the test case to the target requirement and will create an association of type Depends between the two items. This means that when the requirement changes the suspected flag is triggered on the association and you'll see an indication on the test case issue. Generating test casesYou can also generate a test case for a requirement. To do this just right click the requirement in the left side tree and select Generate Test Case. This will generate a new item in the default test case tracker with the Verifies field set to the requirement (and a association is created also in this case). You can generate test cases even for a whole subtree. In this case the generated structure will be the same as the structure of the requirements. If you start geenrating on a requirement that has children codebeamer will ask if you'd like to generate recursively (for all children). You can easily check which requirements has test cases. To see this information click on the gear icon above the requirement tree, check the Show test cases option and click save:
After that the tree will be refreshed and the test cases for each requirement will be shown. If a requirement has no test cases then it will be marked with an exclamation mark icon in the tree:
Working with releasesThis functionality is available only in the document view of requirement trackersThe right panel of the requirement document view has a Releases tab. Here you can do several things:
Working with issuesDocument view is the right place for working with issues because you won't lose context: you don't have to leave the page when you edit an issue or add a comment. Editing issuesEditing an issue in document view is extremely easy. Just double-click an issue summary to modify it, and it becomes editable. Double-clicking an issue's description will show the inline editor, too:
By default, the WYSIWYG editor is selected, but this can be changed on user and system level. You can easily attach files to the issue using the "Attach files..." link in the top right corner of the editor box. You can click on the link or just drop a file over it from your local file system. When in WYSIWYG mode, the attached images are automatically pasted to the location where the cursor is currently positioned. Of course you can attach any type of files, not just images. The wiki help can be accessed by clicking on the question mark icon in the top right corner of the editor box. Creating related issue from selectionSometimes you may want to create an issue from a part of a requirement description. For instance, you may work on a set of requirements and want to create tests directly from the description of a certain requirement. This can be easily done with codeBeamer's WYSIWYG editor. Just select a part of the description text, then choose a tracker from the "Add Issue..." dropdown on the editor toolbar:
A similar editor will show up where you can edit the details of the new issue. If everything is fine, just click the "Create issue" button.
The related issue is created in the selected tracker and the editor replaces the originally selected part of the description with the interwiki link of the newly created issue. Adding commentsAdding comments to issues in document view is simple. Just click on the Add comment link on the properties panel. If there are already comments you can find them in the comment box under the link.
Issue detailsYou can easily check the details of an issue (submitter, date etc.). Just select an issue in the left tree or click into a paragraph in the document then select the Properties tab on the right panel:
Here you can see the associations and the children of an issue, too. By clicking on the summary of the issue you will get to the issue page. If workflow transitions are enabled on the tracker the Transition drop down is available. You can even edit some basic properties of the issue without leaving the page. Change the properties then click Save. AssociationsThere are multiple ways to add associations to issues in document view. If you want to associate two issues in the same tracker just drop an issue from the tree over an issue on the right side:
This will create an association from the dragged issue to the target. Using the above example: from "Battery" to "Project Goal". The type of the association is "related". An other way of creating associations is clicking the "Add Association" item in the context menu of a tree node or an issue on the right side. This will show you an overlay window where you can select an issue from the history or from a search.
Suspected linksOn the traceability matrix (see the You can also check this box when creating an association from the issue details page:
This information is displayed in document view in two forms. First, when you open the properties (see
Here you can also the suspected links: when you made sure that the change in the issue that this one depends one doesn't affect the depending issue or you made the updates needed just click on the small "x" on the tablet. This will clear the suspected link (of course it can become suspected again when A changes next time). The other place where you can check if there are suspected links is the tree. The issues with suspected links gets a small S icon:
For this to be shown, you may have to modifiy your tree settings (see Context menusRegular context menuThe complete list of menu items look like this:
The items in details:
The context menu of folders and the root node has an item New Folder. This will create a new folder as the child of the item right clicked. Transition menuIf the workflow is enabled on the tracker you can open the transitions menu by clicking on the small icon in front of the issue summary:
Using this menu you can set the status of the issue easily. In most of the cases when you'll use this menu the new status will be set immediately, without you filling a form and page reload. However, if there's a mandatory field in the target status that is empty in the issue you'll get a popup where you can set all the mandatory fields. FilteringOn the top of the middle panel you'll find a filter.
Using this filter you can easily reduce the number of issues shown in the middle panel. You can ilter the issues based on several things:
Tree settingsYou can configure a few things about the tree. The settings dialog shows up if you click the gear icon in the header of the tree:
There are two important things to note about these settings:
The settings dialog contain three options:
Their meanings:
RatingUsing the rating feature you can easily express your opinion about a requirements on a scale from 1 to 5. To be able to use this tool on document view just click on the gear icon above the tree and check the Add Review / Rating option:
After the document view is reloaded you'll see a rating icon in fron of the issue summaries. These small icons show the rounded average rating of the issues.
To add a new rating or rewiev to an issue just click on this icon and click on a star in the popup. After writing an optional comment click on Rate. The rating icon is updated immediately to reflect the new average.
You can also filter the issues by their average rating. The filter is in the top-right corner of the middle panel.
BaselinesFor more information on baselining, please consult Creating baselines in document viewCreating a baseline in document view is simple: just click the "New baseline" menu item from the "more" menu on the breadcrumb and give a name and a description (optional) to the baseline in the popup window.
Viewing baselinesThere is a hashmark icon in the header of the tree for baselines:
If you click on this icon an overlay window will pop up with all the available baselines:
Clicking the name of a baseline will load the document view tracker containing the structure in the selected revision. When a baseline is selected the background color of the right side turns into yellowish. This makes it easy to recognize that you are browsing a baseline. The tree's context menu is also missing some items (see Comparing baselinesIf you have at least two baselines of a tracker view, you can show the differences between these two baselined revisions, by selecting the two baselines in the baselines overlay window and clicking on Compare Selected Baselines: LimitationsAlthough Document View is a very easy to use tool in some cases you have to visit the original tracker or issue details pages to achieve a goal. These cases:
Requirements LibraryWatch a video on the requirements library here.![]() When building a product you may want to reuse the same requirements in multiple versions. A requirement library is a collection of requirement trackers that helps you in this task. When the original issue changes you can rely on the suspected link feature and the diff tool to decide if you have to apply the changes to the copied requirement. You can access the requirement library on the right side panel on the document view of requirement trackers.
Initially the requirements library lists all non-empty requirement trackers from all projects that you can access. You can customize the list of trackers by clicking on the little gear icon above the tree.
Configuring the requirements libraryAfter clicking on the gear icon you'll see this popup:
Here you can select the trackers that you want to see in the requirement library. Since this is a user level setting, you will see the same list of requirement trackers in every document view. Note that codeBeamer stores the list of the selected trackers. When you add a new requirement tracker to your project you have to reconfigure the library if you want to display that too. Reusing requirements fom the libraryTo reuse a requirement from the library just drag the node in the library tree and drop it to the tree on the left side or to a requirement in the middle panel. This will create a new copy in your tracker. The parent of the new requirement will be the requirement that you dropped on. Codebeamer will also create an association of type copy between the original requirement and the copy. The trigger suspected flag is set to true on this association. This means that whenever the original issue changes the suspected link is triggered on the association. Note that not only the issue properties are copied but also the comments and associations. The copied nodes are marked with a little c icon in the left tree.
Note that if there are custom fields in the original issue they will be mapped automatically if possible. If not, then you'll get a list with the mapping problems and you can decide if you still want to copy the requirement.
Reviewing suspected linksAs noted above, when the original issue changes you're "notified" through suspected links.
You can see what changed if you click on the suspected link badge. This will bring up an overlay with the differences.
On this dialog you can see all the common fields of the original and the copy issue (so the unmappable custom fields are not listed). The values from the copy are on the left side and the values from the original are on the right. If there' a differencein any of the fields (no matter if it was changed in the original or in the copy):
If you're sure that you want to take a change from the library issue click on Apply in the row. You can apply all changes by clicking the Apply button in the table header. After selecting the changes to apply click on the Save button to update the copy. This will also clear the suspected link flag. Note, that the suspected link is treggered even when some adds a comment to the original issue, but comments cannot be moved to the copy issue. In this case the diff dialog is empty and the Save button will only clear the suspected link. |
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, and help us 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. Your preferences will apply to this website only.
Note that user-behavior analytics are being captured on this server to improve the Codebeamer user experience.