Signature
Helper | nodeHelper |
Signature |
getVersion(String versionName, Project project) getVersion(String versionName) |
Description |
Returns a version belonging to the project. Typically used to map the remote issue version to the local issue version.
|
Introduced in | 0.8 |
Note: The Signature introduced in 0.8 works for Github until version 5.4.0.
For Github 5.4.0 and higher
Helper | nodeHelper |
Signature |
getVersion(issue: IHubIssue, versionName: String) |
Description |
Returns a version belonging to the project. Typically used to map the remote issue version to the local issue version.
|
Introduced in | 5.4.0 |
Example use
// transfer all the versions for (version : replica.affectedVersions) { issue.affectedVersions += nodeHelper.getVersion(version,issue.project) }
Example use in Github 5.4.0
// transfer all the versions for (version : replica.affectedVersions) { issue.affectedVersions += nodeHelper.getVersion(issue,version) }