Where can I find a list of IWorkItem attributes
Where can I find a list of IWorkItem attributes that I can fetch using getValue() ?
Thanks! -Steve |
Accepted answer
Use IItemManager.fetchCompleteItem to fetch the item for any handle. The items carry the actual info; the handles are essentially just like pointers / URLs.
For example:
That's for client-side. For server-side, use IRepositoryItemService to fetch the item. Ralph Schoon selected this answer as the correct answer
|
4 other answers
Ralph Schoon (63.5k●3●36●46)
| answered Jun 16 '11, 12:18 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Where can I find a list of IWorkItem attributes that I can fetch using getValue() ? Steve, there are built in operations for a few:
Others you can lookup with the name or ID:
You can also get a list of attributes, but I seem to be unable to find it right now.... |
Ralph Schoon (63.5k●3●36●46)
| answered Jun 16 '11, 12:21 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
at least there is a getCustomAttributes() operation. |
Thanks for the reply! Maybe I should come out and tell you what I really want... I've queried for the work items associated with a build label and now i want to find the resolver of each of those work items. I know there is a getResolver() method that returns an IContributorHandle, but I'm not sure how to get what I need out of that object.
Thanks! -Steve |
|
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.