debug.error

    Signature

    Helper debugHelper
    Signature
    debug.error(string)
    Description

    Helps to raise an IssueTrackerException error with the value of the field which is not syncing. Allows to see the content of the replica and the issue (if applicable)

    Example use

    debug.error("String message")

    Comment

    When you synchronize a custom field, but the issue on the receiving side is not updated and you don't see any error.

    // throw an error with the custom field value stored in a replica
    debug.error("customFields."Foo".value from remote side is: " + replica.customFields."Foo"?.value)