Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



Access to the CAST RestAPI from the machine on which you are using the scripts.

(tick)Access to Atlassian JIRA REST WebService from the machine on which you are using the scripts.

Groovy 3.x should be installed on the machine on which you are using the scripts. using a more recent release will result in the following error:

Code Block
Caught: java.lang.NoClassDefFoundError: groovy/util/slurpersupport/GPathResult
java.lang.NoClassDefFoundError: groovy/util/slurpersupport/GPathResult
       at C2JCASTUtils.getCASTApplicationHRef(C2JCASTUtils.groovy:16)
       at C2JMain.main(C2Jmain.groovy:36)
Caused by: java.lang.ClassNotFoundException: groovy.util.slurpersupport.GPathResult

2. For the Jira integration through jenkins, Basic authentication using password is deprecated. Instead, the authentication should be made using the API Key

(tick)Java security should be lowered to avoid SSL issues. Note: JAVA_HOME key in environment variables can lead to “peer not authenticated” issue.

You need to have:

  • at least one CAST AIP snapshot stored in the CAST Dashboard Service schema (accessed via the CAST RestAPI)
  • an Action Plan configured with actions either via the Engineering Dashboard or via the legacy CAST Engineering Dashboard


  • JIRAWebServiceURL = ""
  • JIRAWebServiceLogin = "login"
  • JIRAWebServicePassword = "passwordAPI_key"
  • JIRAProjectKey = "MYPROJECT"
  • JIRAIssueType = "Bug"
  • JIRAVersionId = "41940"
Note that JIRAWebServicePassword should use an API Key since passwords are deprecated.

Groovy scripts

All scripts are available in our Github project here: They have been tested in a custom environment but MUST be adapted to your own environment: