We have made some recent enhancements to Jira Plus public app, and multiple customers are facing the “Domain not whitelisted” issue.
In the mainfest.json file under the whitelisted-domains, we have written like this to whitelist the Freshdesk and Jira URL
"whitelisted-domains": [
"https://<%= iparam.whitelistFD %>",
"https://<%= iparam.whitelistJiraUrl %>"
]
but while installing or updating the app, the customer added an additional “/” at end of the Freshdesk URL (https://domain.freshdesk.com/) and the app is getting updated successfully, but when they go to the settings page again, the app is throwing the “Domain not whitelisted” error.
We can add a validation to remove the additional slash “/” from the Freshdesk URL, but when it comes to the Jira URL we cannot add any validation as the Jira URL and its format will vary for each customer.
Example,
- https://domain.atlassian.com (cloud version)
- https://domain.customerServer.com (on-premise version)
- https://domain.com/jira (on-premise version)
- https://domain.server.com:8443 (on-premise version)
The app is throwing the error if the URL has any additional “/” or “:” (based on our observation)
As the Jira URL format varies for each customer we have mentioned the URL as "https://<%= iparam.whitelistJiraUrl %>"
in the manifest file. So basically the whitelisted URL will look like this "https://domain.server.com:8443"
, but the app throws the error so unable to install the app.
Let us know if you need more information.
APP ID: 7656
Thanks,
Kannan