It's all about the answers!

Ask a question

How to auto update attributes based on other attribute values.

Homer Pope (15812123) | asked Jun 20 '16, 5:34 p.m.
I would like to be able to update the severity field based on changes in the priority field:
High Priority sets severity to Critical severity
Medium Priority maps to Moderate severity
Low Priority maps to Minor severity


One answer

permanent link
Donald Nong (14.4k314) | answered Jun 20 '16, 8:37 p.m.
This is a typical "dependent enumeration" scenario which can be easily implemented.

Of course you can also use Calculated Attribute Customization for which there are many samples on the forum.

Homer Pope commented Jun 22 '16, 4:08 p.m.


Thanks very much for the response.
I set up a value set customization between Priority and Severity with the necessary mappings,  and on the Severity attribute, I have it using that Value set with dependencies projectArea & Priority.
What I am seeing is that when I set Priority the desired work item severity doesn't move even on save, any ideas??

Donald Nong commented Jun 22 '16, 9:17 p.m.

If you use a Value Set, it's possible that the new value in the altered value set does not get "selected" automatically. In this case, you will have to use the Calculated Value option.

Ralph Schoon commented Jun 23 '16, 2:33 a.m. | edited Jun 23 '16, 2:33 a.m.

A value set only provides you the choices, it does not automatically set anything. If you want automation to set values you need to use other options such as a calculated value, which would require JavaScript or Java.

Your answer

Register or to post your answer.