Synching CQ Lists with Work Item Fields
I am looking to map a CQ field that contains a list of items to a work item field. Does RTC currenlty support the ability to synch a CQ list with a Work Item field?
Specifically, there is a record type in CQ called "Onwer" that allows the record type to be assigned to multiple owners. Ideally, we would be able to synch this record, and assign a work item to multiple owners. At the very least, would like to avoid errors that are currently being thrown when attempting this synch.
Specifically, there is a record type in CQ called "Onwer" that allows the record type to be assigned to multiple owners. Ideally, we would be able to synch this record, and assign a work item to multiple owners. At the very least, would like to avoid errors that are currently being thrown when attempting this synch.
3 answers
I am looking to map a CQ field that contains a list of items to a work item field. Does RTC currenlty support the ability to synch a CQ list with a Work Item field?
Specifically, there is a record type in CQ called "Onwer" that allows the record type to be assigned to multiple owners. Ideally, we would be able to synch this record, and assign a work item to multiple owners. At the very least, would like to avoid errors that are currently being thrown when attempting this synch.
The synchronization mechanism supports mapping multi-valued-reference properties to multi-valued-reference properties, but the "Owned By" property of work items is not multi-valued - there can be only one owner. You could submit an enhancement request against the Work Items component if that feature is important to you.
John
Jazz CQ Connector Team
The synchronization mechanism supports mapping multi-valued-reference properties to multi-valued-reference properties, but the "Owned By" property of work items is not multi-valued - there can be only one owner. You could submit an enhancement request against the Work Items component if that feature is important to you.
John
Jazz CQ Connector Team
Is it possible to create a custom field that supports multi-valued properties?
The synchronization mechanism supports mapping multi-valued-reference properties to multi-valued-reference properties, but the "Owned By" property of work items is not multi-valued - there can be only one owner. You could submit an enhancement request against the Work Items component if that feature is important to you.
John
Jazz CQ Connector Team
Is it possible to create a custom field that supports multi-valued properties?
No, not today. Work item custom attributes can be of type string, html, timestamp, integer, long, boolean, or enumeration. Not that it is not even possible to define even a single-valued attribute that is a reference value (e.g. you cannot define an attribute that is a "reference to a user"). See https://jazz.net/learn/LearnItem.jsp?href=content/docs/work-items-cust/index.html for details on how work items can be customized.
However, you can simulate a multi-valued attribute when syncing from CQ. There is another kind of value transformer which will follow a reference-valued property, fetch the fields of the referenced record (that are configured in the sync rule for that record type), and format the field values into a string-valued attribute. This transformation is one-directional only, from CQ to Jazz; there is no way to modify the work item attribute and have that translate back to changes to the referenced CQ record.
See the CQ Connector documentation topic for this at
https://jazz.net/jazzdocs/topic/com.ibm.team.connector.cq.doc/topics/t_displaying_contents_referenced_record.html
Hope this helps.
John
Jazz CQ Connector Team