Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Hi,
In a Salesforce to Jira on premise connection, we must prevent the synchronisation because the Salesforce Case lacks some fields we need before creating a Jira issue.
Our core need is to have the "Connect" button only on Salesforce.
It comes via the Exalate component, with the "Exalate" button.
So we want to behave safely if anyone press this "Exalate" button, that means raise a warning and do nothing.
On Salesforce, the Exalate component is displayed, showing the "Exalate" and "Connect" buttons. This component is here only for the "Connect" button but, unless we can get rid of the "Exalate" button, we have to set some safety rules. If a user press the "Exalate" button, that starts a synchronisation that never complete because on Jira side the issue creation is failing, because of missing/null values.
We don't want to create new Issue with default values, they must come from Salesforce side.
We want to halt the synchronisation as early as possible.
We are thinking of some check in the outgoing script on Salesforce side, that detect the empty field and give up the synchronisation (that would otherwise be an error on Jira side).
In the Salesforce outgoing script, we tried things like:
or
The first one leaves a blocking error on the connection. The second generates no outcome but the status on the case is "WAITING_FOR_REMOTE". In both cases pressing the "Exalate" button result in a green Toaster message.
What could be the solution?
Regards,
Stéphane
Here is the steps that drove us to our current question.