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

Unable to modify constraint date even when constraint type is set as "Start not earlier than" or "Finish not later than"

In a formal project open a sprint backlog plan. For an existing or new work item change the constraint type to SNET or FNLT. This action should set the Constraint Date editable. But instead a error is shown in the UI and the Constraint Date field does not get editable.Below is the error.

TypeError: this.getPlanModel().findAttribute(_17) is null

([object Object])@https://localhost:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain.js~com.ibm.team.apt.web.ui.internal.page.PlanningSearchProvider.js~com.ibm.team.dashboard.web.ui.internal.SearchProvider.js~com.ibm.team.scm.web.ui.internal.view.search.ScmSearchProvider.js~com.ibm.team.workitem.web.ui.internal.page.SearchProvider.js&_proxyURL=%2Fccm&locale=zh:1251

([object Object])@https://localhost:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain.js~com.ibm.team.apt.web.ui.internal.page.PlanningSearchProvider.js~com.ibm.team.dashboard.web.ui.internal.SearchProvider.js~com.ibm.team.scm.web.ui.internal.view.search.ScmSearchProvider.js~com.ibm.team.workitem.web.ui.internal.page.SearchProvider.js&_proxyURL=%2Fccm&locale=zh:6895

([object Object])@https://localhost:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain.js~com.ibm.team.apt.web.ui.internal.page.PlanningSearchProvider.js~com.ibm.team.dashboard.web.ui.internal.SearchProvider.js~com.ibm.team.scm.web.ui.internal.view.search.ScmSearchProvider.js~com.ibm.team.workitem.web.ui.internal.page.SearchProvider.js&_proxyURL=%2Fccm&locale=zh:6698

([object Object])@https://localhost:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain.js~com.ibm.team.apt.web.ui.internal.page.PlanningSearchProvider.js~com.ibm.team.dashboard.web.ui.internal.SearchProvider.js~com.ibm.team.scm.web.ui.internal.view.search.ScmSearchProvider.js~com.ibm.team.workitem.web.ui.internal.page.SearchProvider.js&_proxyURL=%2Fccm&locale=zh:3800

([object Object])@https://localhost:9443/ccm/web/_js/?include=A~&etag=CR3LnUhJu_zh:17

((function () {return _67.apply(_66, arguments || []);}))@https://localhost:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain.js~com.ibm.team.apt.web.ui.internal.page.PlanningSearchProvider.js~com.ibm.team.dashboard.web.ui.internal.SearchProvider.js~com.ibm.team.scm.web.ui.internal.view.search.ScmSearchProvider.js~com.ibm.team.workitem.web.ui.internal.page.SearchProvider.js&_proxyURL=%2Fccm&locale=zh:1872

([object Object],[object Array],[object Object])@https://localhost:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain.js~com.ibm.team.apt.web.ui.internal.page.PlanningSearchProvider.js~com.ibm.team.dashboard.web.ui.internal.SearchProvider.js~com.ibm.team.scm.web.ui.internal.view.search.ScmSearchProvider.js~com.ibm.team.workitem.web.ui.internal.page.SearchProvider.js&_proxyURL=%2Fccm&locale=zh:3795

([object Object],[object Object],[object Array],[object Object],[object Array])@https://localhost:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain.js~com.ibm.team.apt.web.ui.internal.page.PlanningSearchProvider.js~com.ibm.team.dashboard.web.ui.internal.SearchProvider.js~com.ibm.team.scm.web.ui.internal.view.search.ScmSearchProvider.js~com.ibm.team.workitem.web.ui.internal.page.SearchProvider.js&_proxyURL=%2Fccm&locale=zh:2077

()@https://localhost:9443/ccm/web/_js/?exclude=A&include=com.ibm.team.apt.web.ui.internal.page.PlanningPageMain.js~com.ibm.team.apt.web.ui.internal.page.PlanningSearchProvider.js~com.ibm.team.dashboard.web.ui.internal.SearchProvider.js~com.ibm.team.scm.web.ui.internal.view.search.ScmSearchProvider.js~com.ibm.team.workitem.web.ui.internal.page.SearchProvider.js&_proxyURL=%2Fccm&locale=zh:2033

()@https://localhost:9443/ccm/web/_js/?include=A~&etag=CR3LnUhJu_zh:17

1 vote


Accepted answer

Permanent link
The error means the plan is not able to get to the constraint type customer attribute for the work item.
Check that the Constraint Type customer attribute in the process spec is not tampered. The attribute ID should be 
com.ibm.team.apt.attribute.constrainttype.
Then check the Planning --> Plan Attributes settings.
Make sure that the complexity attribute is not set to Constraint Type.
Also check that the attribute mapping is
<attribute id="com.ibm.team.apt.attribute.planitem.constraintType" implementation="com.ibm.team.apt.client.WorkItemAttribute" internal="false" name="约束类型" readOnly="false" type="ENUMERATION">
        <parameters>
            <parameter key="attribute" value="com.ibm.team.apt.attribute.constrainttype"/>
        </parameters>
    </attribute>
The main point is for the mapping the ID should be com.ibm.team.apt.attribute.planitem.constraintType.
And the custom attribute ID should be com.ibm.team.apt.attribute.constrainttype.
Spencer Murata selected this answer as the correct answer

1 vote

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
× 12,014

Question asked: Jun 06 '12, 11:01 a.m.

Question was seen: 4,830 times

Last updated: Jun 06 '12, 11:08 a.m.

Confirmation Cancel Confirm