How get "Found In" attribute with RTC SDK?
![]()
Hello!
We develop a follow-up action trigger which gets the attributes (names and values) from workitems which are changed. We can get almost any attributes for an RTC workitem. But we can not find "Found In" attribute (or release number) which is defined in releases list of a project area. Can anybody recommend us how we can get this value from IWorkItem or another way? The environment is Jazz CLM v4.0.5. Thank you in advance! |
Accepted answer
![]()
Simply use
To find out the attributeId do the following:
- Open the project area in the eclipse client
- Choose 'Process Configuration' tab
- Navigate to Project Configuration -> Configuration Data -> Work Items -> Types and Attributes
- click a built-in attribute and choose Edit
- instead of the whole ID path (like 'com.ibm.team.workitem.attribute.modified'), only use the last part ('modified').
---> for custom attributes, you have to use the whole path (like in the source code above)
(a part of this answer is from my answer on this topic)
Dmitry A. Lesin selected this answer as the correct answer
Comments Hi Lucas,
The advantage if this code is that it is generic for built in and custom attributes, that's why I prefer it over the approach Susan Hanson suggests below. |