Not possible to add custom Contributor-type attribute to plan attributes?
Hi,
We've recently added a custom attribute of type Contributor to our work item types.
I'm trying to add this to our plans as a column, but am running into an issue. Below are the steps I've used - am I missing something or does this not work and should I log an issue?
Steps: Go to Process Configuration > ... > Plan Attributes and select Add, choose the custom attribute in the pop-up & confirm, save the Process Configuration
At this point, I can see the custom attribute in the list for "Attribute Mapping" and I can see it in the process configuration source:
<attribute id="com.ibm.team.apt.attributes._owner_ba" implementation="com.ibm.team.apt.client.WorkItemAttribute" internal="false" name="Owner BA" readOnly="false" type="ITEM"> <parameters>
<parameter key="attribute" value="owner_ba"/>
</parameters>
</attribute>
However, when I go to the Plan in the web client, refresh, edit and try to add this attribute as a column, it's not in the list.
Accepted answer
This works for me in the version I use. Consider to close your browser or use CTRL+F5 to delete the browser cache.
Comments
Thank you Ralph, that worked!
Side question: I see in the config source that: readOnly="false", however, when I add the column to the plan I cannot change the values by clicking & selecting... It works for Owned By (which is also a Contributor attribute). I cleared the browser cache again to be sure, but that doesn't help...
Some attribute types only have a presentation in plan views and can only be edited in the work item editor. The assumption to get the same behavior for an owner type attribute compared to the owned by attribute is far fetched and likely wrong. There are additional warnings for owned by etc. The implementations and requirements for the plan views are/were different etc.
Some attribute types can not even be added to a plan view as presentation e.g. list type attributes.