Originally asked by Harold Oconitrillo on 07 November 2023 (original question)
I wanted to ask if there is any way to close the Exalate connection through code located in the azure incoming sync.
Originally asked by Harold Oconitrillo on 07 November 2023 (original question)
I wanted to ask if there is any way to close the Exalate connection through code located in the azure incoming sync.
Answer by Javier Pozuelo on 08 November 2023
Hello,
Yes you can, there is a helper method called unExalateAfterProcessing() which stops synchronization of an issue.
Place this in the Incoming sync of destination side
syncHelper.unExalateAfterProcessing()
For example, you can use it to stop the issue synchronization if the issue status is closed.
if (issue.status.name == "Closed") {
syncHelper.unExalateAfterProcessing()
}