It's all about the answers!

Ask a question

Custom attributes of type Integer added to Plan Views are readonly?


Lorena Almela (1811117) | asked Jun 28 '13, 8:45 a.m.

We are trying to add a custom attribute of type Integer into a Plan View and we are able to do it but it is not updatable, showing blocked as readonly. Is this the expected behaviour or are we missing any configuration?

Has anyone experienced this same issue before?

Attribute is not configured as read only in the attribute definition:

<attributeDefinition id="com.ibm.gbs.pmt.na.planitem.score" name="Score" type="integer"/>

Attribute is not configured as read only in the planning attribute mapping section:

<attribute id="com.ibm.team.apt.attributes._com.ibm.gbs.pmt.na.planitem.score" implementation="com.ibm.team.apt.client.WorkItemAttribute" internal="false" name="Score" readOnly="false" type="INTEGER">

<parameters>

<parameter key="attribute" value="com.ibm.gbs.pmt.na.planitem.score"/>

</parameters>

</attribute>

<planmode id="com.ibm.gbs.apt.viewmodes.internal.effortProgress" name="Effort Progress" progressMode="PROGRESS">

<columns>

<column attribute="com.ibm.team.apt.attribute.summary"/>

<column attribute="com.ibm.team.apt.attribute.planitem.priority"/>

<column attribute="com.ibm.team.apt.attribute.planitem.complexity"/>

<column attribute="com.ibm.team.apt.attribute.planitem.estimate"/>

<column attribute="com.ibm.team.apt.attribute.planitem.progress"/>

<column attribute="com.ibm.team.apt.attribute.planitem.state"/>

<column attribute="com.ibm.team.apt.attribute.planitem.timeSpent"/>

<column attribute="com.ibm.team.apt.attribute.owner"/>

<column attribute="com.ibm.team.apt.attribute.planitem.dueDate"/>

<column attribute="planning/source/com.ibm.team.workitem.linktype.blocksworkitem"/>

<column attribute="planning/target/com.ibm.team.workitem.linktype.blocksworkitem"/>

<column attribute="com.ibm.team.apt.attributes._com.ibm.gbs.pmt.na.planitem.score"/>

</columns>

<viewmode definition="com.ibm.team.apt.internal.viewmode.tree">

<parameters>

<parameter key="inversedAttribute" value="planning/target/com.ibm.team.workitem.linktype.parentworkitem"/>

<parameter key="attribute" value="planning/source/com.ibm.team.workitem.linktype.parentworkitem"/>

</parameters>

</viewmode>

<groupmode definition="com.ibm.team.apt.groupmode.iteration"/>

<sortmode definition="com.ibm.team.apt.sortmode.ranking"/>

<filters>

<filter definition="com.ibm.team.apt.filter.quickQuery"/>

</filters>

</planmode>


Comments
Kevin Ramer commented Jun 28 '13, 4:44 p.m.

There is a "Plan Editor Preview" editor binding for work items.  Maybe having/not having the attribute in that editor affects editing. 

Just a guess, I don't plan much ;-)


Lorena Almela commented Jun 28 '13, 5:12 p.m.

Hi Kevin,
thanks for your answer, but we have added the attribute into all the editors, including the "Plan Editor Preview" and in the editors the attribute is updatable, but not in the Plan.
May be it is an RTC limitation and custom attributes can not be updated directly from the Plan View.
Regards,

One answer



permanent link
Ralph Schoon (57.1k23642) | answered Jul 02 '13, 10:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Lorena, I just tried with 4.0.3 and I see the same thing. Don't hesitate to write a PMR/defect or enhancement request

Comments
Ralph Schoon commented Jul 02 '13, 10:52 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

This is for the Web UI only. The Eclipse UI worked after I synchronized the attributes.....

Your answer


Register or to post your answer.