CQ Connector not synching incoming work items
At the moment, we are havings issues getting incoming synchronization to work. When building the synchronization rules, the correct "External Type" record type information is being displayed from the CQ server, as sre the "External properties" from those record types.
However, when a new record is built in CQ, no synchronization is occuring. The "cq.query" is set in configuration.properties for the CQ record type, and my work item query is searching on all work items.
Suggestions?
Shelby
However, when a new record is built in CQ, no synchronization is occuring. The "cq.query" is set in configuration.properties for the CQ record type, and my work item query is searching on all work items.
Suggestions?
Shelby
11 answers
Hi Shelby,
Are you referring to the value of the cq.queryTreeRoot property in the cqconnector.properties file? It can have the path to any query folder below the Public Queries or Private Queries folder as long as it is consistent with the folder that you created in CQ. So if you created a query folder under the Public Queries folder named "Jazz ClearQuest Connector", then just make sure the value of the cq.queryTreeRoot property is "Public Queries/Jazz ClearQuest Connector". By default, the value of that property is "Public Queries/JazzConnector". See the https://jazz.net/jazzdocs/topic/com.ibm.team.connector.cq.doc/topics/t_creating_query_hierarchy.html topic for more info on that property.
By the way, do you know if empty external type problem has been resolved?
Lorelei
Are you referring to the value of the cq.queryTreeRoot property in the cqconnector.properties file? It can have the path to any query folder below the Public Queries or Private Queries folder as long as it is consistent with the folder that you created in CQ. So if you created a query folder under the Public Queries folder named "Jazz ClearQuest Connector", then just make sure the value of the cq.queryTreeRoot property is "Public Queries/Jazz ClearQuest Connector". By default, the value of that property is "Public Queries/JazzConnector". See the https://jazz.net/jazzdocs/topic/com.ibm.team.connector.cq.doc/topics/t_creating_query_hierarchy.html topic for more info on that property.
By the way, do you know if empty external type problem has been resolved?
Lorelei
<Project> is the name of the CQ folder.
The problem that you are having with the empty external type field is unrelated to the query folder structure in CQ. Make sure you have the CQ gateway running. In the sync rule editor, make sure the external repository and the external manager fields are set. The external type field should be populated with the CQ record types that you have enabled to be CQ connector-enabled.
If this is not the case, then maybe when applying the JazzInterop package to your CQ schema, you hadn't specified which CQ record types you wanted to synchronize with RTC or forgot to upgrade the user database.
If you are using the sample DefectTrackingInterop schema, maybe you forgot to upgrade the user database.
Lorelei
The problem that you are having with the empty external type field is unrelated to the query folder structure in CQ. Make sure you have the CQ gateway running. In the sync rule editor, make sure the external repository and the external manager fields are set. The external type field should be populated with the CQ record types that you have enabled to be CQ connector-enabled.
If this is not the case, then maybe when applying the JazzInterop package to your CQ schema, you hadn't specified which CQ record types you wanted to synchronize with RTC or forgot to upgrade the user database.
If you are using the sample DefectTrackingInterop schema, maybe you forgot to upgrade the user database.
Lorelei
Hi, I just want to know if the "<Project_area_name>" is the name of the query or the name of a folder?
Public Queries\Jazz ClearQuest Connector\<Project_area_name[/code:1:16197f7938]
Because a got another problem, the field "External Type" is always empty when I create a new Sync rule.
Thanks
Good to hear that you were able to resolve your incoming sync problem. A CQ folder with the project area name is required for incoming sync to occur. A query is necessary if you want to select which records of the record type are synched. If no query is specified, then all records of that type will be synced.
Lorelei
Lorelei
A few suggestions to help you (and us) debug....
First, start the gateway with DEBUG logging on. This is done by commenting out two lines in the log4j.properties file in the gateway directory:
log4j.logger.com.ibm.rational.interop.level1=DEBUG
log4j.logger.com.ibm.rational.interop.level2=DEBUG
(also comment out the line above these two).
Additionally, create a CQ query on the record type JazzConnectorChangeEvents. Without the gateway running, create a CQ defect, and see if a change event is generated.
Rich Piazza
Jazz CQ Connector team
First, start the gateway with DEBUG logging on. This is done by commenting out two lines in the log4j.properties file in the gateway directory:
log4j.logger.com.ibm.rational.interop.level1=DEBUG
log4j.logger.com.ibm.rational.interop.level2=DEBUG
(also comment out the line above these two).
Additionally, create a CQ query on the record type JazzConnectorChangeEvents. Without the gateway running, create a CQ defect, and see if a change event is generated.
Rich Piazza
Jazz CQ Connector team
page 1of 1 pagesof 2 pages