Forums

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

REST API auth error

BayWa IT Workplace Atlassian
February 6, 2020

Hi Community,

 

we´re building simple Python scripts for JIRA using the REST API with Basic auth (this way is ok for us, no need for Oauth at the moment).

For building the correct codes we´re using SOAP UI before we implement it in our scripts.

 

When we start execution, for example GET on https://jira.ourdomain.com/rest/api/2/applicationrole we see an error 401 Unauthorized (401). After some tries we get an error 403 and CAPTCHA is active for this user .

So it´s seems that data was correct and the username can be extracted from base64 encoded string by JIRA (base64 string is username:password).

In the past this way worked fine.

 

The same credentials (base64) work perfect in Confluence with REST API, so it seems to be a problem on JIRA side. In the backend both systems use Crowd with the same user directory (LDAP).

We´re using JIRA 8.6.1 with reverse proxy and activated SSL.

 

Regards

Uli

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
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 Champions.
July 24, 2013

On the edit mode, it will show only user name. But you can still search using Full name. You cannot change it without modifying the javascripts etc.

On the view mode, it will show full name with a link to the profile. That is the expected behavior.

Hi Jobin,

Thanks for the nifor, is there a way to change the core java script for User Picker field to show both user name and user full name? just like Reporter and Assignee field?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events