Work item attribute customization calculated value script, Summary field not populating another field
I've created a simple attribute customization for a calculated value. I've set up the new field to use this calculated value script. I made it dependent on the Summary. However, the Summary is not copied into the new field at all.
Anyone know how to make this work?
|
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Oct 24 '18, 3:00 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER The script is missing the declaration of WorkItemAttributes. Go back to the documentation or the Enactment workshop and check how to do that. Or use the ID e.g. "summary".
Donna Thomas selected this answer as the correct answer
Comments
Donna Thomas
commented Oct 25 '18, 10:12 a.m.
Interesting... I have about 5-6 other scripts without it that work, but they don't use the built-in attributes. I don't usually use the built-in attributes. Thank you!
Ralph Schoon
commented Oct 25 '18, 10:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It is needed to access the built in work item ID's in the form WorkItemAttributes e.g. WorkItemAttributes.SUMMARY. If you provide the ID as string it is not needed afaik. |
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.