Enabling Jira Provisioning Results in Error "Verification failed: Invalid URL=https://[Jira-Server-URL]/rest/api/2/user/search?username="
Last Updated:
Overview
When enabling API integration with the Atlassian Jira Server application, the below error is returned:
Verification failed: Invalid URL=https://[Jira-Server-URL]/rest/api/2/user/search?username=
Applies To
- Atlassian Jira Server
- Provisioning
- Okta Classic Engine
Cause
The Jira server is configured only to allow connections from certain IPs. This allowlist of IPs does not contain those for the Okta services.
Solution
Identify the cell, extract relevant Okta IP Ranges, and then have the Jira Administrator allowlist these on the Jira Server.
- Log in to the Okta instance as an admin.
- Click Admin.
- Scroll to the end of the page and verify the cell (for example, OK1 Cell (US), EU1 Cell (EMEA), OP1 Preview Cell (US)).
- With the cell identified, open this JSON file.
- Extract the IP ranges relevant to the cell. For example, OK1 Cell (US) is the group of IPs under us_cell_1.
- Jira Admin then adds these ranges to the JIRA allowlist.
- Retry the API authentication under Admin > Applications > Atlassian Jira Server > Provisioning tab > Integration.
