Community
Thumb_queryexpander

Lucene Query Expander (Backlinked Work Items)

 This extension provides a Lucene Query Expander to filter for Work Items having backlinked Work Items with a specific Type, Status, and Role.

Description

This extension provides the BacklinkedWorkItems Lucene Query modification. Technically, it receives the original query, replaces the query term with a list of IDs, and passes on the modified version of the query.

Searches with these terms are considerably slower than pure Lucene searches, especially for large data sets.

With this query expander, you can filter for Work Items having backlinked Work Items with a specific Type, Status, and Role.

 

The expander introduces the following Lucene search term
`backlinkedWorkItemsCustom:childTypeId=typeId#childStatusId=statusId#linkRoleId=roleId`  
where:

  • `typeId` is the Work Item Type ID of the child Work Item
  • `statusId` is the Work Item Status ID of the child Work Item
  • `roleId` is the Link Role ID of the Work Item link

 

The parameters also support the wildcard `*`, searching for any `typeId`, `roleId`, or `statusId`. 
If you want to search for Work Items not having the specified links, you just need to add the `NOT` operator in front of the search term.

To reduce server load, it is recommended to combine the search term with a Project, Type, or Status term via the `AND` operator. The implementation will look for these terms and include them in the underlying SQL search. If you use the Work Item tracker search bar or filter LiveDocs, a Project filter is already included by Polarion.

 

 

This is an improved version of the extension Query for Work Items by Linked Item Type or Link Role with the permission of the original author.

 

What's New in Version is listed on the GitLab Project Page

Updated July 2024

All news can be found on the GitLab Project Page.

 

Information

Vendor Kevin Schmiechen (Institute of Flight System Dynamics, Technical University of Munich)
Published Version is listed on the GitLab Project Page - July 2024
Categories
Price Free
Community Supported Extension This extension is not supported by Siemens PLM.
Requirements are available here

Related Extensions