Hello,
I need to get information for Power Automate JQL query.
I get information using an HTTP request, but in any case the request returns "X-Seraph-Loginreason": "AUTHENTICATED_FAILED" and when I try I can't get the information.
I check the official Jira website about REST APIs (atlassian.com)and I don't know what the problem is.
In the API request fields I put the following information:
- URI: jira url that appears in the browser when I search for the JQL
- Headers: Authorization -> Basic <my email and base64 encoded apy token>
- Content type -> application/json
- Username: email I use to access my jira account
- Password: my api token encoded in base64
Please someone help me?? I try many things and I can't solve this problem.
@Sofia Beltrán : I saw that you did not have an answer to this. I recently did a request through Python that I kept getting access denied. I then tried it through Postman and it was working the same way. There is a documented issue with the API and authentication that requires you to request it first through either Postman or using a direct API link to it. When I generated another key and sent a request first through Postman the connection then worked fine and I was able to get it to work. This could be your problem as well. You should see in the response when it failed that it would say "Authorization Failed" If it does not find a project or says that it is anonymous this is the problem. Try this:
1. Generate a new API key
2. Run the API key through postman first or any other API front end
3. Fix your query to make sure that you have the API key set and the username so that it follows the conventions set aside on the API documentation (I beleive that it is username:API)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.