Query expander plugin, enabling the query language to list workitems on whether they are linked or not linked to others.
Added: Fri Apr 30 11:31:57 CEST 2010
Version:
Unknown
by Roman Kellner (Bombardier)
Rated 3 out of 5 stars
The com.polarion.alm.extensions.testLinkedWorkitems plugin is a query expander plugin, enabling the query language to list workitems on whether they are linked or not linked to other workitems. If testing for linked workitems the attributes of the linked workitems can be taken into account too. The extension is delivered as zip archive that includes only one jar archive. This jar archive includes the code and the readme.txt
Query Syntax:
$test[.not].linked|backlinked(<query1>[, <linkRole>], <query2>)
- The '.not' part is optional.
- The linked or backlinked part is compulsary, but can be either or.
- The <query1> and <query2> are compulsary
- The <linkRole> is optional (in between the two queries), it can be a vaild link role,
the keyword 'ALL' (case insensitive), or an empty argument: (<query1>,, <query2>)
- The Macro may preceeded or followed by other queries
Examples:
(Not all of the examples do make sense, they just show the combinations)
$test.not.linked(module.id:requirements, module.id:testcases && status:released)
$test.not.backlinked(module.id:requirements, module.id:testcases && status:released)
$test.backlinked(module.id:requirements,, module.id:testcases && status:released)
$test.linked(module.id:requirements, aLL, module.id:testcases && status:released)
$test.linked(module.id:requirements, tests, module.id:testcases && status:released)
Limitations:
Since the plugin first lists workitem candidates (query1) and then tests each for its
link relation plus attributes of the linked as applicable (query2), returning the canditates id
on success and producing a long ORed workitem id list, the plugin is rather slow on quering
a lot of workitems (highly depends on query1)
Also is there a limitation in the number of boolean expressions in a query (Polarion limitation
in general not the plugin itself), resulting in the following error message:
'too many boolean clauses' due to the long ORed workitem id list produced by the plugin
(depends on combination of query1 and query2)
© 2009 Polarion Software. All rights reserved.
Feedback | Contact Us | RSS