Problem
When syncing subtasks between team-managed projects, the sync fails and responds with the error message:
Error detail:
"Field Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.: summary."
Cause
The issue occurs because in team-managed projects subtask issue type is defined as a single word "Subtask":
While in company-managed projects, the subtask issue type is spelled as "Sub-task" :
The sync rules that define the subtask issue type in different projects should be different.
Solution
Use the following issue type for subtask sync between Team-managed projects:
issue.typeName = "Subtask" //Make sure to use the right subtask type here.
Use the following issue type for subtask sync between Company-managed projects:
issue.typeName = "Sub-task" //Make sure to use the right subtask type here.