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
Source : Jira Cloud
Destination : Jira Server
We need to sync Versions Start date and release date along with
issue.fixVersions = replica
.fixVersions
// ensure that all the fixVersions are available on B
.collect { v -> nodeHelper.createVersion(issue, v.name, v.description) }
// assign affected versions from JIRA A to JIRA B
issue.affectedVersions = replica
.affectedVersions
.collect { v -> nodeHelper.createVersion(issue, v.name, v.description) }
We have document for Jira server
https://docs.idalko.com/exalate/display/ED/Versions.groovy
But I need this for Jira Cloud to Jira Server
Hi Vinay,
There is: https://docs.idalko.com/exalate/x/EYG0
This should apply for Jira Cloud and Jira Server.
Kind regards,
Ariel
Please check the document again at the end
If you want to synchronize version start date, release date and description you can use the external script versions.groovy, which has been developed specifically for such cases.
If we go to that link it is only available for JIRA SERVER STARTING FROM 4.5.1
Hi Vinay,
Yes that's true, what Jira Server version are you currently working on?
Kind regards,
Ariel
Hi Ariel Aguilar ,
I'm on latest version(5.2.3) on Jiraserver.
But we need to sync the versions data from Jira cloud to Jira server
The document will work from Jira server to Jira server. But I need the same script for Jiracloud to Jira server. Is it possible?
Regards,
Vinay