It's all about the answers!

Ask a question

Why can I only assign "Unassigned" to "Owned By" field as a Script Based Calculated Value?

Franca Zober (1513) | asked May 06 '21, 10:51 a.m.

my "Owned By" field is to be fed from a Script Based Calculated Value.

When returning a string with the UUID from "Unassigned" ("_YNh4MOlsEdq4xpiOKg5hvA"), it works perfectly well, the owner of the item changes to unassigned. If I return a string with  the UUID from any other users, the item owner does not change.

I am researching my UUID with another script using workItem.getValue(WorkItemAttributes.OWNER); so I am pretty confident the UUID as such is correct.

Anyone with a clue why this isn't working?


One answer

permanent link
Ralph Schoon (63.2k33646) | answered May 07 '21, 2:28 a.m.


this works for me. I used the script below and it worked immediately. I got the ID from the user profile.

 * Licensed Materials - Property of IBM
 * (c) Copyright IBM Corporation 2011. All Rights Reserved.
 * Note to U.S. Government Users Restricted Rights:
* Use, duplication or disclosure restricted by GSA ADP Schedule * Contract with IBM Corp. ***********
/ dojo.provide("com.example.ValueProvider");

(function() { dojo.declare("com.example.ValueProvider", null, {

    getValue: function(attribute, workItem, configuration) {

        //return workItem.getValue(attribute);
        return "_cc14oFplEeuac-qhIXDu1Q";



Your answer

Register or 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.