Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Sync sprints from Jira Cloud to Jira server.
I followed the KB
https://docs.idalko.com/exalate/pages/viewpage.action?pageId=46203325#HowtosynchronizesprintsonJira?-JiraServer
I will sync only from Cloud (outgoing) to server (incoming).
When i try to save the code I get this error:
'Script cannot be saved. Details: startup failed: Script55.groovy: 1: expecting ')', found '=' @ line 1, column 51. rint" && sprint.originBoardId = "19"){ ^ 1 error '
Line 1 is:
if(entityType == "sprint" && sprint.originBoardId = "19"){
19 is the board ID i got from my Sprint Active board.
The original code from KB.
if
(entityType ==
"sprint"
&& sprint.originBoardId =
"1"
){
//We only sync sprints on board with id '1'
replica.name = sprint.name
replica.goal = sprint.goal
replica.state = sprint.state
replica.startDate = sprint.startDate
replica.endDate = sprint.endDate
replica.originBoardId = sprint.originBoardId
}
The kb says its only available for Cloud for connections created with scripting mode, but it saw no difference.
I have created first the project sync, and then im updating as i need with scripting, and no problems so far.
Is this the cause the error? Should I create a new connection to support this?