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
Ralph Schoon (63.6k●3●36●46)
| 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
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.