How to get a Field name in RTC WorkItem using Java
![]()
Chandan M B (113●29●63)
| asked Apr 07 '15, 11:34 p.m.
edited Apr 09 '15, 2:34 a.m. by Ralph Schoon (62.0k●3●36●43)
Assume in Summary Field, user enters some text,
I can fetch the entered value using getHTMLSummary() But i need the field Name(Summary) in whcih field it is entered. Please let me know the code snippet for this. Also, is there any documentation for server side plugin developement other than Lab 1 to 6 PDF provided by IBM Regards Chandan |
Accepted answer
![]()
the accepted answer here provides a utility to dump the attribute values of workitems returned from a workitem query
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes
this will show you the attribute names, and ID as well as value (for most attribute types)
Chandan M B selected this answer as the correct answer
|
2 other answers
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Apr 09 '15, 2:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Internal attributes are treated similar to custom attributes. You can look up the ID of the attribute in the process configuration. There are also internal ID's for them which you can get using the code snippets above.
Also see https://rsjazz.wordpress.com/2015/02/27/a-rtc-workitem-command-line-version-2-2/ WorkItemTypeHelper class. List |