I tried to make a get request with axios. I am implementing Xray in my project.
I added my app to allowlist in Jira for avoiding the following issue:
This solution works fine for Jira Rest APIs but not for Xray Rest APIs.
I tried to modify headers.
Hi @Martha Sanchez and welcome to the community,
as you mentioned that it works with jira API:
did you create the specific xray token in jira administration? Jira and Xray APIs are using different tokens and also different types of authentication.
Unfortunately I‘m not familiar with axios. I‘m working with curl calls. Would one of these calls help? (they are working on my side)
Best
Stefan
Hi Stefan ^^
I appreciate the quick response.. I tried to create a xray token, but my menu doesn't have an API Token option .
Do you know another way to create a xray token for Jira Server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the settings in your screenshot are the project related xray settings. API tokens are set in the xray app administration (as far as I know this needs admin permission).
if you click the jira settings/admin button (in cloud this is in the upper right corner) and then choose „apps“ there should be a separate section for xray (I can send a screenshot later as I‘m nit at my notebook currently).
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.