RTC: How to show Custom Fields as columns in plans?
Hi Jazz experts,
is it possible to include custom fields to plans in RTC?
We are currently facing the problem that we have added several fields to various work item types but we cannot include them in our plans. It's no problem to add those fields as columns to queries but in the plan view the column does not appear in the list.
Would be great if you could give me a hint.
Regards
Michael
is it possible to include custom fields to plans in RTC?
We are currently facing the problem that we have added several fields to various work item types but we cannot include them in our plans. It's no problem to add those fields as columns to queries but in the plan view the column does not appear in the list.
Would be great if you could give me a hint.
Regards
Michael
Accepted answer
Hi Michael,
you have to configure the attributes to show up in the plan. Open the project area editor, go to the Process Configuration tab. Open Project Configuration>Configuration Data>Planning and click on Plan Attributes. Add the custom attributes to the Attribute Mapping section.
Please note, as far as I can tell, not all Attribute types work. Especially Item Lists did not work for me when I tried.
you have to configure the attributes to show up in the plan. Open the project area editor, go to the Process Configuration tab. Open Project Configuration>Configuration Data>Planning and click on Plan Attributes. Add the custom attributes to the Attribute Mapping section.
Please note, as far as I can tell, not all Attribute types work. Especially Item Lists did not work for me when I tried.
Comments
One other answer
Hi Ralph,
thank's for your fast response. I immediately tried your solution and it seemed to work. I tried it with an Integer attribute and everything worked fine.
Then I tried to add an enumeration field. After adding the column to the plan, I received the following NPE from RTC and I cannot create a release plan for this team area anymore. Whenever I delete and recreate the plan, I see the same NPE and receive the following error message:
Error - The plan is not available in the repository.
hide details
java.lang.NullPointerException at com.ibm.team.apt.api.common.internal.CombinedIdentifier.<init>(CombinedIdentifier.java:27) at com.ibm.team.apt.internal.common.ReferenceAttributeProvider.getReferenceAttribute(ReferenceAttributeProvider.java:94) at com.ibm.team.apt.internal.common.ReferenceAttributeProvider.get(ReferenceAttributeProvider.java:176) at com.ibm.team.apt.internal.common.process.CompositeNodeProvider.get(CompositeNodeProvider.java:67) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.toReturnValue(NodeBasedValueComputer.java:219) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.computeValue(NodeBasedValueComputer.java:140) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.computeValues(NodeBasedValueComputer.java:78) at com.ibm.team.apt.internal.common.process.ConfigurationElementInvocationHandler.<init>(ConfigurationElementInvocationHandler.java:38) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.newInstance(ConfigurationElementFactory.java:214) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.allInstances(ConfigurationElementFactory.java:169) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.toReturnValue(NodeBasedValueComputer.java:213) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.computeValue(NodeBasedValueComputer.java:117) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.computeValues(NodeBasedValueComputer.java:78) at com.ibm.team.apt.internal.common.process.ConfigurationElementInvocationHandler.<init>(ConfigurationElementInvocationHandler.java:38) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.newInstance(ConfigurationElementFactory.java:214) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.singleInstance(ConfigurationElementFactory.java:67) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.singleInstance(ConfigurationElementFactory.java:58) at com.ibm.team.apt.internal.common.plantype.IPlanModeDescription$Factory.create2(IPlanModeDescription.java:113) at com.ibm.team.apt.internal.client.IterationPlanClient.fetchIterationPlanData(IterationPlanClient.java:413) at com.ibm.team.apt.internal.ide.ui.editor.IterationPlanEditorInput$2.resolve(IterationPlanEditorInput.java:143) at com.ibm.team.apt.internal.ide.ui.editor.IterationPlanEditorInput$2.resolve(IterationPlanEditorInput.java:1) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$DefaultResolver.resolve(TeamFuture.java:39) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.execute(TeamFuture.java:112) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.access$0(TeamFuture.java:110) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob$1.run(TeamFuture.java:95) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.run(TeamFuture.java:93) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Best regards
Michael
thank's for your fast response. I immediately tried your solution and it seemed to work. I tried it with an Integer attribute and everything worked fine.
Then I tried to add an enumeration field. After adding the column to the plan, I received the following NPE from RTC and I cannot create a release plan for this team area anymore. Whenever I delete and recreate the plan, I see the same NPE and receive the following error message:
Error - The plan is not available in the repository.
hide details
java.lang.NullPointerException at com.ibm.team.apt.api.common.internal.CombinedIdentifier.<init>(CombinedIdentifier.java:27) at com.ibm.team.apt.internal.common.ReferenceAttributeProvider.getReferenceAttribute(ReferenceAttributeProvider.java:94) at com.ibm.team.apt.internal.common.ReferenceAttributeProvider.get(ReferenceAttributeProvider.java:176) at com.ibm.team.apt.internal.common.process.CompositeNodeProvider.get(CompositeNodeProvider.java:67) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.toReturnValue(NodeBasedValueComputer.java:219) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.computeValue(NodeBasedValueComputer.java:140) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.computeValues(NodeBasedValueComputer.java:78) at com.ibm.team.apt.internal.common.process.ConfigurationElementInvocationHandler.<init>(ConfigurationElementInvocationHandler.java:38) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.newInstance(ConfigurationElementFactory.java:214) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.allInstances(ConfigurationElementFactory.java:169) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.toReturnValue(NodeBasedValueComputer.java:213) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.computeValue(NodeBasedValueComputer.java:117) at com.ibm.team.apt.internal.common.process.NodeBasedValueComputer.computeValues(NodeBasedValueComputer.java:78) at com.ibm.team.apt.internal.common.process.ConfigurationElementInvocationHandler.<init>(ConfigurationElementInvocationHandler.java:38) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.newInstance(ConfigurationElementFactory.java:214) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.singleInstance(ConfigurationElementFactory.java:67) at com.ibm.team.apt.internal.common.process.ConfigurationElementFactory.singleInstance(ConfigurationElementFactory.java:58) at com.ibm.team.apt.internal.common.plantype.IPlanModeDescription$Factory.create2(IPlanModeDescription.java:113) at com.ibm.team.apt.internal.client.IterationPlanClient.fetchIterationPlanData(IterationPlanClient.java:413) at com.ibm.team.apt.internal.ide.ui.editor.IterationPlanEditorInput$2.resolve(IterationPlanEditorInput.java:143) at com.ibm.team.apt.internal.ide.ui.editor.IterationPlanEditorInput$2.resolve(IterationPlanEditorInput.java:1) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$DefaultResolver.resolve(TeamFuture.java:39) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.execute(TeamFuture.java:112) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.access$0(TeamFuture.java:110) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob$1.run(TeamFuture.java:95) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at com.ibm.team.apt.internal.ide.core.util.TeamFuture$LoadJob.run(TeamFuture.java:93) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Best regards
Michael