Page History
...
- Make sure you define parameters in the jenkinsfile to be able to pass some.
- When defining parameters, ensure the parameters' names match in both tools.
- The Authentication Token from the Jenkins pipeline must match the API Token from the Xray side.
- Confirm that the user you are using has the correct permissions in both tools.
- If we're accessing the Jira cloud instance over HTTPS (which is the standard), then the Jenkins URL needs to be also HTTPS so Xray Cloud can trigger Jenkins APIs
- Configure your Jenkins instance to handle CORS properly. Go to Manage Jenkins > Plugins and add the CORS Filter plugin. Configure it as shown in the next screenshot, so that it accepts requests from your Xray cloud instance considering its region (e.g., https://eu.xray.cloud.getxray.app) and also the URL of your Jira cloud instance. Accepts GET, PUT, and POST requests. Include the "Authorization" header on the "Access-Control-Allow-Headers".
- You can use the browser developer tools to check if the remote job trigger from Xray is done successfully or not, and debug any error that might occur.
...