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

Error with enumeration while saving Work Item

I have a custom enumeration that will potentially have several hundred values.  So, I add a value set provider and assigned that to the value set for the enumerated type.  When I select the values and try to save I get the following message:

"The requested literal exists in the value set but not in the enumeration set.  Value Set providers are not allowed to create enumerations outside of the enumeration set."

The added the value to the value set provider js and to the enumeration set.

1.  How can I resolve this error?

2.  Is there any way to get a long list of enumerations in the tool without having to do each one manually?

0 votes

Comments

I guess you are using a Script Based Value Set, correct? In this case, what exactly is the script? Based on the error message, it seems to you try to add values that are not defined in the enumeration. If true, I don't think you can do it.
Actually, if you can do without enumeration, you can try something like this
https://jazz.net/library/article/1257


Be the first one to answer this question!

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
× 6,121

Question asked: Sep 09 '14, 4:48 p.m.

Question was seen: 2,802 times

Last updated: Sep 10 '14, 3:15 a.m.

Confirmation Cancel Confirm