Need help setup mapping rules of reference fields in CQ
We have a Defect record type. On the defect record, there are 3 required choice_list fields, project, component, and release.
The project and component come from Project stateless record. The Project stateless record has a field indicating whether the project is a project or a component. So, if I run a query to find all projects, it will return all projects and components.
The release comes from another stateless record, Release. On the Release stateless record, it has 2 fields that represent the unique key, name and project. Name field is a short_string, and project field is a reference to the Project record type. On the Defect record, the Release field choice list is populated by a hook that combines the value of the name and project. For example, the values of Release will be "Release1 ProjectA", "Release2 ProjectA".
Since they are required fields in CQ, I need to map them to RTC. So, I created enumeration attributes for Project, Component, and Release.
Any advice on how to set up the mapping for Component, and Release?
Thanks a lot!
Rachel
The project and component come from Project stateless record. The Project stateless record has a field indicating whether the project is a project or a component. So, if I run a query to find all projects, it will return all projects and components.
The release comes from another stateless record, Release. On the Release stateless record, it has 2 fields that represent the unique key, name and project. Name field is a short_string, and project field is a reference to the Project record type. On the Defect record, the Release field choice list is populated by a hook that combines the value of the name and project. For example, the values of Release will be "Release1 ProjectA", "Release2 ProjectA".
Since they are required fields in CQ, I need to map them to RTC. So, I created enumeration attributes for Project, Component, and Release.
Any advice on how to set up the mapping for Component, and Release?
Thanks a lot!
Rachel