// assign fix versions from JIRA A to JIRA B
your_instance_shortname.issue.fixVersions = remote_instance_shortname.
.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
your_instance_shortname.issue.affectedVersions = remote_instance_shortname
.affectedVersions
.collect { v -> nodeHelper.createVersion(issue, v.name, v.description) }
We did create every fixversion on every instance - just to be sure. Both sides are the same
there comes no error or something like that. Only no sync of fixversion. So nothing is happening. Don't know why and yes we did change the "your_instance_shortname." and "remote_instance_shortname." also in both directions
Where you replace 'someVersionVariable' with something that needs to be inspected This will raise an error, allowing you to see what the information is
// assign fix versions from JIRA A to JIRA B
BELLVIS.issue.fixVersions = DGTLS.
.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
BELLVIS.issue.affectedVersions = DGTLS
.affectedVersions
.collect { v -> nodeHelper.createVersion(issue, v.name, v.description) }
BELLVIS.issue.fixVersions = DGTLS.issue
.fixVersions
// ensure that all the fixVersions are available on B
.collect { v -> nodeHelper.createVersion(issue, v.name, v.description) }
There is an example in the documentation but this is not working: https://docs.idalko.com/exalate/display/ED/Script+rules+examples
We did create every fixversion on every instance - just to be sure. Both sides are the same
What is not working - can you provide an example
there comes no error or something like that. Only no sync of fixversion. So nothing is happening. Don't know why and yes we did change the "your_instance_shortname." and "remote_instance_shortname." also in both directions
can you inspect why it is not working?
You can add
Where you replace 'someVersionVariable' with something that needs to be inspected
This will raise an error, allowing you to see what the information is
not working, this is the errormessage:
Errormessage.txt
You will have to use a proper construct.
Means that the line needs to be reviewed.
and this is not a proper construct?
Is it casesensitiv?
Something is wrong with
Hello, Francis Martens (Exalate) , SDGTLS
The problem is it should be
instead.
Or better yet, check the response here for the full script and a video: Sync the epic and epic link in visual mode