Quantcast
Channel: vsarword4tfs Discussions Rss Feed
Viewing all articles
Browse latest Browse all 183

New Post: Unable to create a custom report with a query that has linked work items

$
0
0
I am slightly confused by the fact that your layout seems to include defects when the query only has linked test cases. I will assume for now that you just want requirements with linked test cases underneath and that you have a tree query which does this.

You need a layout which defines a building block for the work item type which contains the requirements and which defines a building block for the test case work item type. When the query is executed the addin just goes linearly down the list of work items and inserts a building block, choosing the building block that corresponds to the work item type.

If you look at the out of the box layouts in the Layout Designer and take a look at the "Requirements Specification" layouts that will give you an idea of what I am trying to describe. The building block for a specific work item type is marked by a line formatted using the "TFS Work Item Definition" style and contains the name of the work item type. If you add "_N" to the end then the building block will only apply to the Nth level in the tree query (where 0 is the highest level).

Try the Requirement Specification layout on your query, assuming your requirements are User Story work items and your Test Cases are linked to the user stories you should get some sensible output.

I hope this helps. It is quite difficult to explain briefly, if you have further questions please do not hesitate to ask.

Regards

Rob

Viewing all articles
Browse latest Browse all 183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>