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

Work Item Attribute Value Providers -- Value Set Providers

I am trying to use Filtering Enumeration Value Set Provider. i got the code from
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
<valueSetProviders>
<valueSetProvider>
<filterMap>
.
.
</filterMap>
</valueSetProvider>
</valueSetProviders>
I am getting an error at the 2nd step that "Invalid content was found starting with element 'valueSetProviders'. One of '{"http://com.ibm.team.
workitem/workitemTypes":attributeDefinition}' is expected."

I have given the exact provider id which is given in the above Link.

0 votes



2 answers

Permanent link
On 2/4/10 4:38 PM, babu_kamineni wrote:
I am trying to use Filtering Enumeration Value Set Provider. i got the
code from
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
valueSetProviders
valueSetProvider
filterMap
.
.
/filterMap
/valueSetProvider
/valueSetProviders
I am getting an error at the 2nd step that "Invalid content was
found starting with element 'valueSetProviders'. One of
'{"http://com.ibm.team.
workitem/workitemTypes":attributeDefinition}' is
expected."

I have given the exact provider id which is given in the above Link.

Could you provide the context where you added the elements?

The <valueSetProviders> element must be within

<configuration>

as described in
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Provider_Configuration

This is a top-level configuration-data element like e.g. enumerations. I
will update the Wiki with an example to make this clearer.

--
Regards,
Patrick
Jazz Work Item Team

0 votes


Permanent link
It looks like this may be a bug rather than a configuration issue. When importing, Filed Against defaults to the first category. However when creating a new work item in the system, Filed Against properly defaults to "Unassigned".

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

Question asked: Feb 04 '10, 10:25 a.m.

Question was seen: 8,605 times

Last updated: Feb 04 '10, 10:25 a.m.

Confirmation Cancel Confirm