Confluence has been updated to ver 6.15.9. In case of any troubles, please contact infra team.

Questions

 
1
0
-1

I have a number of triggers that I have disabled however the sync for those organizations is still live.

I would like a code snippet so that I can exclude organizations by their Id/OrgName to put in the rule configuration.


The sync is happening from Zendesk to JIRA Cloud.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      You could use something like this on the top of your outgoing processor from zendesk side:


      def excludeOrgs = [12,23,32]
      if(excludeOrgs.find{it == issue.organization_id}) return

      If the organization id of the issue being synced if on the list of excludeOrgs then it won't be synced at all.


      Hope this works,

      Juan

        CommentAdd your comment...