How get work Item Parent in the script dojo
Durand Guillaume (6●3●4)
| asked Oct 28 '14, 9:03 a.m.
edited Oct 28 '14, 9:44 a.m. by Ralph Schoon (63.5k●3●36●46)
Hello,
I use RTC 4.0.1, I want to recover the value a attribut of WorkItem Parent in the script dojo. Is possible? |
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Oct 28 '14, 9:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can't as far as I am aware. You can only access attributes. See https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript for what you can do. I tried to be more specific about what you can and can't in https://jazz.net/library/article/1093 at the beginning of Lab 5.
For some cases https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ could be a solution. Other approaches could be using Java Extensions. If there is a feasible approach depends on your use case. Ralph Schoon selected this answer as the correct answer
Comments
Durand Guillaume
commented Oct 28 '14, 10:46 a.m.
In my script dojo, I can access a field summary of work item Parent??
Ralph Schoon
commented Oct 28 '14, 11:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I am aware no.
|
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.
Comments
Is this JavaScript in an attribute customization or your own web site?
attribute customization.
I want to recover the Work Item Parent in the dojo script.
attribute customization.
I want to recover the Work Item Parent in the dojo script.