Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to retrieve values from a multiple select text box prompt

Hi,
I am using a multi-select text prompt, so that I can enter multiple values. I am unable to filter the data from this prompt ( lets say separated by commas ) via a query , so that I can get the results and show only the values that are contained in the text box.
Also what adds to the complexity is that when the user enters the data in the prompt, the results should have all records that contain those values e.g ( %value1%, %value2%, %value3% ) , not exact values, but data that contains these words.

We are bringing data from RTC into Insight and running reports from Insight. The report has a Text Prompt for entering tag values to 'include or exclude'.

 

For example there are 2 workitems in RTC.
workitem1 has  |tag1|tag2|tag3| in the 'Tags' field
workitem2 has  |tag4|tag5|tag6|tag7| in the 'Tags' field.

When we run the report and enter tag1 in the text prompt, it should pull up workitem1
when we enter tag1,tag6 as input to the text prompt, it should pull up both workitems - workitem1 and workitem2.

I hope this example makes it clearer. If someone knows how to construct the right filter to pull up this data, it would be very helpful.

Can someone shed more light on this ?
Thanks

0 votes



4 answers

Permanent link
Hi Tapasya,
                      Is the Tag coolumn in RTC not available for use directly in the report? - If available, cant the report prompt be made to refer to that field - so that you can choose values while run the report and you get direct results?

0 votes


Permanent link
The Tag column is available in the report, but if you make a prompt using Tag values, you'll get a prompt that has choices like this:

|tag1|tag4|tag3|
|tag4|tag5|tag6|tag7|
|tag1|tag2|tag4|

In our case the user wants to be able to type in "tag4" in the prompt box and get results that match all 3 of those workitems in my example above - not to have to choose each individual entry that has "tag4" in it.

Similarly, our users also want to be able to prompt on multiple tags - like results that have both tag1 and tag4 - and we have been unable to find a way to represent this in a report.

0 votes


Permanent link
Ok. In that case, take the column "Tag" in the output and apply a filter
Tag contains ?prompt?
(or)
Tag like ?prompt?

I think ? is for single-value prompt.

let me know if it works. This is the format of the filter-query using prompts

0 votes


Permanent link
Yes we have already tried Tag like ?prompt-name? , it is useful when the user inputs only one value and that value exactly matches the data. However if the user enters e.g data as input , the report should display all words that have data like nodata, datacard, ---data---, data1, This is first scenario.

II scenario : user inputs value1, value2, value3, and we want all rows that will contain %value1%, %value2%, %value3%, ( wildcard characters before and after the word ) user can enter only part of the entire string and we want to retrieve the entire string.


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,020

Question asked: Jun 21 '12, 11:12 a.m.

Question was seen: 10,231 times

Last updated: Jun 21 '12, 2:32 p.m.

Confirmation Cancel Confirm