In RTC, can a dependent enumeration with a single literal be automatically updated?
Is it possible to automatically change the literal in a dependent enumeration, maybe via a script based calculated value? Currently, when I change the source attribute, the dependent attribute has an red x in the corner that says "The selected value is not applicable". I would like for this attribute to automatically change to the new value, when I change the source attribute value. This dependent enumeration value set has a one-to-one mapping between the source attribute and the dependent enumeration. I have multiple dependent enumerations that use the same source attribute, so it would be nice to change the source attribute value and all of the dependent attributes update automatically, instead of manually selecting each new value. I tried using a script based calculated value but it returns a literal id that seems to be dynamically created based on the dependent enumeration value set.
Thanks in advance, Dan |
One answer
I haven't seen any automatic downstream dependent variable change support..
its all driven from the UI.. when u click on the second attribute, it is filtered based on the first. that means any api manipulation of an attribute will require the code to do the same for the downstream attributes. Comments
Daniel Stewart
commented Dec 05 '14, 10:54 a.m.
Does the capability exist to add JavaScript, jQuery to manipulate the UI? Could I add a script somehow to programmatically click the drop downs and select the new values?
sam detweiler
commented Dec 05 '14, 1:23 p.m.
I am not aware of any capability to add things like JQuery to the UI.
|
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
sorry not an answer - just a comment
We also have this issue. We have 4 drop-downs (enumerations) all dependent. If someone goes through them in the correct order it is ok but if a value is changed the red x in the corner that says "The selected value is not applicable" comes up against the no longer valid options. We can still save the work item even though the option is not valid.
IHi Sian: If you click on the "Comment on the question" or "Comment on the answer" box, you can add a comment (I've converted your post to a comment).