not able to query the work items by default state
Dear Team,
I have created a query in RTC 6.0.1 to view some work items for an enumeration attribute. but for default value query is not able to load the data. but while i will change any value of the enumerated attribute & save.
then getting the results in query.
how to see the query results for all these work items in default value of that attribute ??
and this case is happening in enumeration as well as Boolean both. you will not be able to query the data without changing any value in these work items.
3 answers
i am adding a condition in the query to search all work items those "None" value of attribute "ESO Review" have assigned.
but i am not getting any results. is this a bug ?
Comments
you mean
1) you have an enumeration attributeĀ 'ESO Review' in which 'None' is the default value.
2) you have created work item in which 'ESO Review' has only the default value 'None'
3) you add a condition in query as
ESO Review is None
but the query returns nothing although you do have some workitems with 'None' value
4) now you tried to save the work item by modifying other values and keep 'ESO Review' as 'None'
5) this time the query with condition "ESO Review is None" will return the workitem properly.
Is this what you experienced?
what is your ifix level of v6.0.1?
yes, you are right.
RTC :- 6.0.1 (iFix003)
Dear Don,
Any Update on this?
we are not able to query a default value ?
after changes done in work items than also not able to query.
it will show only when you will change this attribute value and save. than it will reflect those work items in query.
You need to understand whether the attribute actually has a value. From your description, I suspect that the problematic attribute does not have a value when you cannot query it. It is quite usual when you try to find a null/empty value. For some attributes, the query offers the "exists/does not exists" operator.
There is no way to help without even a screenshot. I would suggest to create a query that queries a bunch of work items and show the enumeration you want. You should see enumeration values in the output. You should see work items with the default value as well. If not, fix that first. If so, duplicate the query and add the condition. You should see some work items (the ones you saw with the value before). If not, create a PMR with support or provide some screen shots from the steps (also the query) explained above,
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Feb 07 '18, 8:22 a.m.I am not sure I understand the question. What does "Not able to load the data" mean? What are you doing, how, in what UI? See How should I ask a question in the Forum if I want to receive useful answers?
Neeraj Malik
Feb 07 '18, 8:37 a.m.Thanks Ralph,
Don Yang
Feb 07 '18, 10:47 p.m.what is the enumeration default value?
how do you form the query in rtc?