When running a Multivariate Project Automation (which synchronizes multiple projects) between Rally and Jira in ConnectALL, the synchronization of a newly created item from Rally to Jira fails.
The ConnectALL logs show a Status: 400 error with the message:
{"errorMessages":[],"errors":{"project":"project is required"}}.
This failure occurs specifically when URL synchback fields (e.g., _URLL) are included in the field mapping for the automation.
Product: ConnectAll
Product Release: 3.9.1, 3.9.2
Integrated Tools: Rally and Jira
The root cause is a defect in ConnectALL's handling of the payload during the synchronization process. When URL synchback fields (like _URL) are present in the field mappings of a Multivariate Project Automation, the Jira payload is incorrectly built, causing the essential Project field to be missing.
Since Jira requires a project for new item creation, the API call fails with the "project is required" error. This issue has been identified and logged internally as DE178229.
Since this issue is due to a product defect (DE178229), the resolution is to apply a workaround by modifying the automation's field mappings until an official fix is released in a future product version.
Workaround Steps:
Navigate to the Field Mappings tab of the affected Multivariate Project Automation in ConnectALL.
Remove any and all URL synchback field mappings from the automation. This includes, but may not be limited to:
_URL
Any other mappings involving fields intended for synching the Jira URL back to Rally or vice-versa.
Save the automation's updated field mappings.
Test the synchronization by creating a new item in Rally and verifying that it now successfully creates the corresponding item in Jira.
Note: Initial testing showed that basic field mappings (Summary/Name, Description/Description, Project/Project) and even
Key/FormattedIDcan work fine without the URL synchback fields. Re-introducing the URL synchback mappings is what causes the failure.
This issue was reproduced in a lab environment in ConnectALL version 3.9.1 and confirmed to affect version 3.9.2 as well.
The error stack trace shows the project is required error from the Jira REST Connector when attempting to create the record:
ERROR YYYY-MM-dd hh:mm:ss,SSS [nnnnnnnnn | appLinkName | pollId | nnnnnnnnn][(connectall-flows) thread #nn-JmsConsumer[writeQ]]
com.go2group.connectall.jira.JiraRestConnector: Response:
{"errorMessages":[],"errors":{"project":"project is required"}}Status: 400
java.lang.Exception: Record could not be created due to the error ({"errorMessages":[],"errors":{"project":"project is required"}}