Need to Exclude update of one user

We have a requirement regarding our current integration setup between Jira Cloud and ServiceNow. We are using the ScriptRunner add-on in Jira Cloud, and we’ve observed that whenever ScriptRunner performs an update on a Jira issue, Exalate syncs that update to ServiceNow. This behavior is causing issues on the ServiceNow side.

To address this, we would like to exclude or skip updates made by the ScriptRunner user from being sent through the Exalate outgoing sync.

ScriptRunner Add-on User ID: 557058:d2e5bd5c-dc49-41eb-a6f0-5e01093666c1

Could you please advise if there is a way to achieve this using a condition or script in the Exalate outgoing sync configuration?

Looking forward to your guidance.

Hi @Manoj

This type of feature is not possible in Exalate, but we are still working to find some workaround. We will update you once we find any solution.

Thanks,
Sonal

Hi @Manoj

is it possible to share details like what specific fields are being updated by script runner, so that i can try to provide some workarounds ?

Thanks,
Sonal

HI @Sonal_Otwani

We’re trying to prevent any updates made by ScriptRunner from being synced.

To achieve this, we used the following script and added it under Jira Outgoing:

def blockUserAccountId = "557058:d2e5bd5c-dc49-41eb-a6f0-5e01093666c1"

if (issue.lastUpdater?.accountId == blockUserAccountId) {
return // Stop syncing
}

Hi @Manoj

Is it satisfying your use case?

Thanks,
Sonal