Originally asked by Peter Hochstrasser on 14 September 2019 (original question)
While there seems to be ample documentation about how to use Versions.groovy, it seems that it is quite important to put those send() and receive() calls at the right place.
What I have seen is that the calls need to be placed as follows:
- the project key of the sender or receiver project have been defined already, i.e. issue.projectkey is defined
- in the incoming sync in front of the receiving version related field assignments
Is that all that needs to be accounted for?
Source: Jira Server/Datacenter (old community)