Forum Discussion
scottkib
11 years agoOccasional Contributor
Has anyone been able to accomplish this?.. Creating Releases/Cycles in QC with Groovy
scottkib
11 years agoOccasional Contributor
I figured it out.
The 'Null' that VB is passing is a variant Null where all required fields must be populated in order to later post. The traditional 'null' parameter in Groovy is not the same, and I needed a variant.
Using scriptom:
import org.codehaus.groovy.scriptom.*
groovyNull = VariantNull.VARIANTNULL
defect = bugFactory.AddItem(groovyNull)