Unable to query on custom enumeration attributes.
We have a number of custom attributes defined for our work items. Some of those custom attributes are enumerations.
When I try to do a work item query using the custom attributes that are enumerations no work items are displayed. However, queries on the other custom attributes that are strings appear to work fine. Is there something that needs to be done to get the enumeration types to be queryable? Our jazz server is running version 1.0.1. Thanks, Kevin |
3 answers
We have a number of custom attributes defined for our work items. There is a current restriction that only one custom attribute can be used in an AND condition: https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/54771 -- Regards, Patrick Jazz Work Item Team |
Thanks for the reply Patrick.
So some additional information in the testing that I have been doing. We have other custom attributes that are enumerations. They appear to work properly when querying against them. It is only this particular enum attribute that does not work. I have looked at the process configuration source for the project and there is no differences between the enums that work in the query and the enums that do not work. Is there anything else I can check to verify that the custom attribute is setup properly. BTW - we are currently only querying against a single custom attribute. So I dont think we are running into the issue you described. Thanks, Kevin |
We have other custom attributes that are enumerations. They appear to When you see the attribute and its value set both in the Work Item Editor and the Query Editor, it seems to be set up correctly. I am not aware of any other issue when it comes to querying enumeration attributes. Can you post the enumeration definition XML snippet here? Maybe I can spot something. -- Regards, Patrick Jazz Work Item Team |
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.