Javascript to get values of impact and probability in a WI

Hi All,
I am trying to automate the custom enumeration attribute based on
impact and probability values - (risk workitem). RTC Screenshots as below:
Issue: I am not able to retrieve the values of risk and probability
attributes via the java script. I referred to exposure provider class
and tried using similar methods
Please advise on the appropriate method to use to retrieve the values.
* Tried workitem.getvalue("com.ibm. team.workitem.workItemType. risk.impact")
-> Failed with a general dojo load error
Thanks.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Feb 26 '13, 8:34 a.m.Valli, please don't paste web content into the question field. To me the content above is cluttered with html tag information and unreadable.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Feb 26 '13, 8:35 a.m.In addition, as stated in the e-mail, I received the same error. So reading this attribute type from JavaScript might not yet be supported or have a bug. You might want to greate a defect or enhancement request, if you don't get a solution here.
VK L
Feb 26 '13, 10:34 a.m.Hi All,