Forums

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

integrating Jira GET issue rest api in android But it always returns 404, Though i have permission

Akshit Sharma September 25, 2018

Using Rest api jira cloud . I want to get the issue using api . But it always returns 404.

Sending username and password in header using this :

https://<domain name>.atlassian.net/rest/api/3/issue/{issue ID}

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 26, 2018

Hi Akshit,

We've depreciated passwords with basic authentication in Cloud API calls and it will be removed entirely at some point this year.

I suggest switching to using a token. Instructions on generating a token from your account are available here, as well as some examples making calls with the API token authentication.

Note that the username in this instance is the full email address used to log in to your Atlassian account.

Cheers,
Daniel

Akshit Sharma October 1, 2018

Still facing the same issue 404 , Though it works with curl but not when i hit request through post man or From Android client .

https://<domain name>.atlassian.net/rest/api/3/issue/{issue ID}: this url

base64String : username@example.com : <Apitoken>

i am sending Authorization : base64String, as header in get request

It works with curl so it is not a permission issue . 

is there any sdk available for Android.  

Please help as i am already stuck on this for long

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events