Interactive LiveReport Page - linkedWorkItems

Description
fml
Posts: 11
Joined: Tue Jul 31, 2018 1:03 pm

Interactive LiveReport Page - linkedWorkItems

Postby fml » Fri Sep 27, 2019 7:31 am

Hi all,
as you probably noticed here (viewtopic.php?f=5&t=97858) , I am working with interactice LiveReportPages, which are a graet thing for our project teams.
At the Moment I am faceing another challange concerning this topic area:

I would like to filter all workItems in Kanban Widget which are linked to a specific WorkItem.
The UseCase is, to show all Tasks wich are linked to a ChangeRequest, so that several Teams can use the same Kanban Widget by changeing the ID of the specific ChangeRequest. I tried the following:

Setup a String-PageParameter with the id=changeRequest.
Using the QueryType Lucene+Velocity I tried the following code:

Code: Select all

type:task
#if($pageParameters.changeRequest.singleValue())
   AND linkedWorkItems:( #foreach ($param in $pageParameters.changeRequest.values())
               $param.id()
     #end)
#end


And put the ID of the WorkItem in the PageParameter-Field as text (project-xxxx). But this does not work.
On the other Hand, the following code works well:

Code: Select all

type:task
AND linkedWorkItems:project-xxxx


QUESTION:
How can I Input a WorkItem-ID in a PageParemeter-Block to use it for dynamic filtering?

Would be great, if someone could "switch the light on" for me :-).

Best regards
fml

fml
Posts: 11
Joined: Tue Jul 31, 2018 1:03 pm

Re: Interactive LiveReport Page - linkedWorkItems

Postby fml » Fri Sep 27, 2019 12:27 pm

Dear all,

I found the solution by myselve using a hint in this Dokumentation (toLucene()): https://almdemo.polarion.com/polarion/s ... meter.html

The following code solves the Problem:

Code: Select all

AND linkedWorkItems:$pageParameters.changeRequest


Hope this Information is useful for other users in this forum.

Best reards
fml


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 9 guests