Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

[JAVA API] run query

Anyone know Is it possible to retrieve a query result only with its query id or query name, and no matter it's a personal query or shared query? And regard the query result, can we choose to show the column value as "Labels" or "Internal values"?

0 votes



One answer

Permanent link
Have a look at
https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/

0 votes

Comments

Hi Miguel, thanks for the reply. I have read the post before, but don't think it answer my question. If i have a queryID/queryName, i still need to know it's a persional or shared query to call the corresponding method(findpersonal...()/findshared...()) to get the result. I want to know if that's a way to get the result back only with a queryID/queryName(No matter what's its project area/query type).

Thanks for the clarification.

I'm not aware of any way to query for both in one go.
The tool always presents the queries as either Personal or Shared, so I wouldn't expect the API to be any different, and also bear in mind that there may be both personal and shared queries with the same name.
Therefore, unless there is a good reason to not to query for both Personal and Shared, I would stick to it.

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,977

Question asked: May 05 '16, 6:42 a.m.

Question was seen: 1,799 times

Last updated: May 06 '16, 5:54 a.m.

Confirmation Cancel Confirm