Confluence has been updated to version 6.15.9

Problem

Error Detail Message
Unsupported method exception, please upgrade your external scripts with latest version found on Exalate documentation" when using older scripts that are incompatible with 4.7.0.


This will apply to an outdated version of supported scripts, including the following scripts:

  • CreateIssue.groovy
  • UpdateIssue.groovy
  • StatusSync.groovy
  • IssueLinkSync.groovy
  • Status.groovy
  • SimpleSprintSync.groovy
  • Epic.groovy

Cause

There were some changes done to the Exalate code in release 4.7 that make older External Scripts incompatible.

Solution

Check the list of supported external scripts and update them accordingly. 


  1. Replace the following files with the latest versions:

    CreateIssue.groovy

    UpdateIssue.groovy

  2. Go to your Connections page and look for any instances where you were using CreateIssue.create() and update them accordingly. 
    Replace this code

    CreateIssue.create(
        replica,
        issue,
        connection,
        nodeHelper,
        issueBeforeScript,
        remoteReplica,
        traces,
        blobMetadataList) {
        // the issue has been created do any crazy things you would normally do after the issue has been created
    }
    with this code: 
    CreateIssue.create(
        replica,
        issue,
        syncRequest,
        nodeHelper,
        issueBeforeScript,
        remoteReplica,
        traces,
        blobMetadataList) {
        // the issue has been created do any crazy things you would normally do after the issue has been created
    }

  3. If you are using:

You need to adapt the Sync Rules accordingly to call Status.groovy. Check the Status synchronization on Jira Server for more details.



  • Update SimpleSprintSync.groovy to the most recent version

Alternatively, you can use a new method to synchronize sprints , released on 4.7.0 version. This method does not require an External Script. Check How to synchronize sprints on Jira for more details.


  • Update Epic.groovy to the most recent version, which you can find in the repository.

  • Update Status.groovy to the most recent version, which you can find in the repository.



Back to Troubleshooting