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

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?


0 votes

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.


Accepted answer

Permanent link
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

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
× 10,954

Question asked: Jul 03 '14, 9:17 a.m.

Question was seen: 2,704 times

Last updated: Jul 08 '14, 2:37 a.m.

Confirmation Cancel Confirm