Attribute value set by dojo script disappears on work item save
I have a dojo script returning value for populating the summary attribute in a work item.
I know the script works as I can see the data appearing in the summary attribute as I type into the attribute it is calculating from. However once I click on save for the work item the value in the summary attribute disappears!
Does anyone have any ideas as to what I am doing wrong- no error messages come up.
I have permission to edit the summary attribute and in the presentation it is set to "Inherit from attribute"
One answer
I think I have an example in https://jazz.net/library/article/1093 the last lab, but for the description. There is always a problem with calculated values on entries that the user should edit. Maybe this contributes. Hard to tell.
Comments
I have followed everything in that - it was working then I made a small change and added an extra attribute so the summary was combination of 2 attributes and it stopped. Now gone back to the original code and it still does not work.
I can see the data appearing as I type into the source attribute - but the value disappears on save.