Confluence has been updated to version 6.15.9

Back to  nodeHelper


JIRA ON-PREMISE JIRA CLOUD ZENDESK AZURE DEVOPS SERVICENOW GITHUB

Signature
 

HelpernodeHelper
SignaturecreateVersion(IHubIssue issue, String versionName, String description)
Description


Create a version in the project of the issue

Introduced in1.2.0

Example use

Following snippet copies versions from the replica to the issue, and creates it on the fly

 issue.fixVersions = replica.fixVersions.collect { 
	v -> nodeHelper.createVersion(issue, v.name, v.description)
}

Comments

  • If the project has already a version with the version name, the version itself is returned else it will create a new version in the project and return it 
  • If the version cannot be created (due to permission problems), a null is returned, no error raised


See Also



 


Back to  nodeHelper