It's all about the answers!

Ask a question

Attribute value set by dojo script disappears on work item save


Janet Cook (214) | asked Jul 02 '20, 12:42 a.m.

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



permanent link
Ralph Schoon (62.7k33643) | answered Jul 02 '20, 9:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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
Janet Cook commented Jul 02 '20, 8:37 p.m.

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.

Your answer


Register or to post your answer.