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

RTC 4 extension: Any tip to query all work items for a specific work item type and for a specific attribute's value?

Hello,

I am new to RTC extension:-)

For follow-on (post) action,

1. Any tip (APIs) to query all work items for a specific work item type and for a specific attribute (integer or string type)?

2. Any tip (APIs) to get and reset default value of an integer or string attribute (predefined or customized)?

Thanks very much in advance.

Regards

Frank

0 votes



One answer

Permanent link
there are no 'apis'. RTC is an Object oriented system.

so there are methods on classes..

I have a set of example code that will let you get the current values..
see the second post here. https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes. This uses a pre-defined query (use eclipse to create it), because its hard to make a query thru code in my opinion.
here is a link to a sample query https://jazz.net/forum/questions/69706/how-to-create-query-using-iquerydescriptorworkingcopymanager

but defaults value is a lot harder, especially if that is set thru a script. you would have to examine the process configuration source to get the hard coded default value. (and this is not supported, it might work, but they can change the content if they want/need to).

0 votes

Comments

Thanks, Sam.

I did mean related class(es) and method(s) when I mentioned APIs:-).

I will see what I can get from the links you posted here.

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
× 12,064

Question asked: Feb 17 '13, 8:48 p.m.

Question was seen: 5,138 times

Last updated: Feb 18 '13, 11:16 a.m.

Confirmation Cancel Confirm