Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to authenticate against the OnDemand JIRA REST API by using google account?

Yang Yu July 15, 2012

Dear all,

I usually use my google account to login OnDemand JIRA site to track all my issues.

Today, I'm trying to use REST API to operate those issues, then, I found this page https://confluence.atlassian.com/display/DOCSPRINT/The+Simplest+Possible+JIRA+REST+Examples, I followed those steps, but it keep telling me "Encountered a <code>401 - Unauthorized</code> error while loading this page" and something like this.

Or, does that mean I should NOT use "HTTP BASIC Authorisation" to authenticate my google account?

Here is my command line:

curl -u yyu@navidao.com:******** https://navidao.atlassian.net/rest/api/latest/issue/SEARCH-5.json

Could anyone give me some other reference or hint, that would be very helpful?

Thanks very much~

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Michael Knight
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 17, 2012

When you first logged in as a Google user to the system, you would have been prompted to create an "OnDemand" password, used for things like Subversion or authenticated RSS feed access. This is the password you will need to use when using the JIRA API.

If you can't remember this password, please see https://confluence.atlassian.com/display/AOD/Changing+Your+Password+in+Atlassian+OnDemand

0 votes
Yang Yu July 16, 2012

Could anybody give me a help, I really need to work it out, thanks!

Siwen Yu February 26, 2019

Do you solve the issue at last?

TAGS
AUG Leaders

Atlassian Community Events