Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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"


0 votes



One answer

Permanent link

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.

0 votes

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.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 02 '20, 12:42 a.m.

Question was seen: 1,317 times

Last updated: Jul 02 '20, 8:37 p.m.

Related questions
Confirmation Cancel Confirm