How to specify queryable workitem attribute?
I'm going to develop a server side follow-up action and a client side aspect editor.
I want to list the workitem attribute on my aspect editor to select workitem attributes These workitem attributes are used for workitem query in follow-up action. I know some types of workitem attribute is not queryable, e.g. large string, large html, etc. but I don't know how to specify programmatically queryable workitem attribute like the Query Editor. Does anyone feel like giving me a hand? |
Accepted answer
Hi Ralph,
Finally I have found "IQueryEditorRestService". https://jazz.net/sandbox02-ccm/service/com.ibm.team.workitem.common.internal.rest.IQueryEditorRestService/attributeTree?queryType=com.ibm.team.workitem.workItemType&projectAreaItemId=_e0qYMgY_EeSirMpptqfvQA This service provides the information of each of the workitem attributes. It includes whether the workitem attribute is queryable. I'm going to use this coding as a reference. Ralph Schoon selected this answer as the correct answer
|
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.
Comments
I am not sure what you are asking here. You might want to provide a bit more information what you specifically want to achieve.
https://rsjazz.wordpress.com/2012/11/19/using-expressions-for-automation/ shows how to create expressions which are the basis of queries. https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ shows how to call queries.