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

Issue in configuring Enumeration using Configuration Data Delta

Iam trying to add a new Enumeration using Configuration-data-delta based on the documentation available @ https://jazz.net/wiki/bin/view/Main/ConfigurationDataDeltaUserDoc. Below is the xml source of my Process Configuration and my Project Area follows scrum template and uses Process which is shared from another Project Area.

<?xml version="1.0" encoding="UTF-8"?>

<!-- Copyright (c) 2007-2013 IBM Corporation. All rights reserved. This file is part of a process template created for use with the Jazz Process Framework. Your use of the process template (and hence this file) is subject to the following terms and conditions found in the process attachment named process_template_license.html. -->

<process-specification xmlns="http://com.ibm.team.process">

    <project-configuration>

        <data>

             <configuration-data-delta configuration-data-id="com.ibm.team.workitem.configuration.enumerations">

                <add-element>

                    <addition>

                        <enumeration  attributeTypeId="com.newEnumeration"  name="New_Enumeration">

                            <literal default="true"  null="true" id="newlit.id.1" name="Literal 1" />

                            <literal id="newlit.id.2" name="Literal 2" />

                            <literal id="newlit.id.3" name="Literal 3" />

                        </enumeration>

                    </addition>

                </add-element>

            </configuration-data-delta>

            <configuration-data-delta configuration-data-id="com.ibm.team.workitem.editor.configuration.presentations">

                <add-element>

                    <path>

                        <section id="com.ibm.team.workitem.section.task.details">

                            <presentation attributeId="com.ibm.team.workitem.attribute.target" />

                         </section>

                     </path>

                    <addition location="after">

                      <presentation  attributeId="com.newEnumeration" kind="com.ibm.team.workitem.kind.enumeration" />

                     </addition>

                 </add-element>

             </configuration-data-delta>

         </data>

     </project-configuration>

  </process-specification>

 

With this configuration the Enumeration is not visible in the UI (Both Web and Eclipse Client).

Iam using 4.0.6 version of the Jazz Platform.

 Any thoughts on where I might have gone wrong ? Any inputs will be useful.

0 votes


Accepted answer

Permanent link

from the configuration shared above,

I see the declaration of the enumeration type with an the type id "com.newEnumeration"
    attributeTypeId="com.newEnumeration"

and

a presentation definition which refers to an attribute with id "com.newEnumeration"
   
<presentation  attributeId="com.newEnumeration" kind="com.ibm.team.workitem.kind.enumeration" />

this i feel is the conflicting part :
              - using "attribute type id" when an "attribute id" was expected

to resolve, please create a custom attribute of you new enumeration type
and
use the id of the custom attribute in defining your presentation

hope this helps.
Sudarshan Venkatesha selected this answer as the correct answer

0 votes

Comments

Thanks for the quick reply.
Perhaps this clarity is missing in the Documentation about Delta Configuration.

glad that it helped.

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: Aug 26 '14, 4:14 a.m.

Question was seen: 3,059 times

Last updated: Aug 26 '14, 6:07 a.m.

Confirmation Cancel Confirm