Forums

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

Get Issue Details API

Alaa Alomari
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 7, 2019

Hello All,

I am using the below curl request since a long time to get issue details 

curl -D- -u myusername:mypasswd -X GET -H 'Content-Type: application/json' 'https://mydomain.atlassian.net/rest/api/2/issue/CDS-4265


 I am using it since a long time every sprint and it was working fine.

Now, suddenly it stopped working and gives 401 response although i am 100% sure of the username and password

HTTP/1.1 401

Server: AtlassianProxy/1.15.8.1

if i tried the link from the browser, it works very fine. any idea what is going wrong? did Atlassian make any update recently on their APIs?

 

1 answer

1 accepted

0 votes
Answer accepted
Warren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 8, 2019

Hi @Alaa Alomari 

You'll want to read through this and this which will hopefully get it working again.

Essentially, you need to stop using password and use an API token.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events