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

[closed] Getting Attributes of a Defect work items

Hello,

I have done some examples with work items and I cannot find how I can retrieve fields like Filed Against and Planned for attributes of a work item. I was looking in methods of IWorkItem and there is no method get PlannedFor. What should I do and which class should I use for that?

Regards,
Myroslav

0 votes


The question has been closed for the following reason: "The question is answered, right answer was accepted" by rschoon Jun 20 '15, 4:17 p.m.


13 answers

Permanent link
Thanks for your replies. It works perfectly. Will those Java APIs will be available in RTC 2.0, so that my scripts will still work?

Try:

IProjectArea.getDevelopmentLines()
IDevelopmentLine.getIterations()
IIteration.getChildren()

---
Ryan Manwiller
Jazz Team

0 votes


Permanent link
Thanks for your replies. It works perfectly. Will those Java APIs will
be available in RTC 2.0, so that my scripts will still work?

Yes, these APIs are unchanged. There is a variation for tags (returns a
list instead of a string), but otherwise I am not aware of any breaking
changes.

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
Hi Myroslav Palenychka,

how could you get foundIn attribute as string. Please share the code.

0 votes

1–15 items
page 2of 1 pagesof 2 pages
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
× 11,079

Question asked: May 29 '09, 3:42 p.m.

Question was seen: 19,800 times

Last updated: Jun 20 '15, 4:17 p.m.

Confirmation Cancel Confirm