Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

REST API access with token

Max Rukhlov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2022

Problem is when i'm trying to reach our cloud jira api using token, i always get 500 error

Even when i'm trying the code from the docs

```curl -D- \
-u email:token \
-X GET \
-H "Content-Type: application/json" \
https://jira/rest/api/2/issue/AUXBOTS-16```

But! when i use this token through vscode jira plugin, it authorizes without any problem.

What can it be?

1 answer

0 votes
Roberto Ialino
Contributor
July 27, 2022

Hi @Max Rukhlov try to insert the pwd instead of the token. Please let me know. 

I resolved like this but on the Jira Server version 8.20.10.

Best regards,

Roberto

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, jpd premium, product management, idea management, product discovery, jira premium, product planning, atlassian community, product development, roadmap planning, product prioritization, feature management

Introducing Jira Product Discovery Premium ✨

Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.

Learn more
AUG Leaders

Atlassian Community Events