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

define default enumeration

https://jazz.net/wiki/bin/view/Main/AttributeValueProviders

I did default value provider of Description item.
But I want to set define default enumeration values,it' not working as description item

dojo.provide("com.example.common.Enumtor");
dojo.require("com.ibm.team.workitem.api.common.WorkItemAttributes");


(function() {

var WorkItemAttributes= com.ibm.team.workitem.api.common.WorkItemAttributes;

var instructions= {
"priority.literal.l01": "guidelines"
}

dojo.declare("com.example.common.Enumtor", null, {

getDefaultValue: function(attribute, workItem, configuration) {

var instruction= instructions;
return instruction || "";
}
});

})();

0 votes



One answer

Permanent link
@lordyiz

- select your customised enumeration category.
- choose your icon from the list an set as default Literal:

http://img841.imageshack.us/img841/6728/bild1pr.jpg

I hoppe its help....

0 votes

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
× 10,939

Question asked: Jan 20 '11, 11:22 a.m.

Question was seen: 4,544 times

Last updated: Jan 20 '11, 11:22 a.m.

Confirmation Cancel Confirm