It's all about the answers!

Ask a question

Why this script based default value on the description field has no effect?


Alek Berlin (1116) | asked Dec 05 '18, 5:40 a.m.
Hi,

I have the following script:

dojo.provide("com.example.DefaultValueProvider");
(function() {
                 dojo.declare("com.example.DefaultValueProvider", null, {

                getDefaultValue: function(attribute, workItem, configuration) {

                return "test";
}
});
})();

I attached this script to the description field but nothing happens.
What is wrong with that script?
Thank you very much.
Alusenie[Less]

Be the first one to answer this question!


Register or to post your answer.