cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA API Authentication 401

BenAnderson
Level 5
Hi, 

I recently started setting up the JIRA API skill, and have followed the User Guide that comes with it and gone through each step. I have set up the API in the 'Web API Services' section of the BP system settings. I have set up a credential and obtained an API Key from Atlassian. However whenever I try to run it in a process, I keep receiving an error message, "HTTP Status Code:401; Basic authentication with passwords is deprecated".

I have looked in the BP communities, and read through the Atlassian documentation, although I can't seem to find any information on where I am going wrong. Any help on resolving this would be greatly appreciated. The credentials I have work fine when logging in manually.
Please see below for some screenshots of the error message, and API configuration.

Many thanks for any help,
Ben

22057.png
22058.png
22059.png
22060.png
22061.png
22062.png
22063.png
22064.png
22065.png
Many thanks,
Ben

------------------------------
Benjamin Anderson,
Senior Consultant,
UK
------------------------------
Benjamin Anderson, Senior Consultant, UK
12 REPLIES 12

@Benjamin Anderson,

I just realized the original developer of this connector is no longer with Blue Prism. I've put together a quick test retrieving the details of a JIRA issue including the creation of an API key (I am not logged into JIRA via the browser BTW). My test is running as expected and I'm able to retrieve the details of the specific issue. Here are a few screenshots of my little test process:

21998.png
21999.png
22001.png
22002.png
I've also tested it with getFeaturesForProject action, and that works as expected for me. So it seems to be something with your environment. Can you try creating a new API key under your account?
 
Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi @ewilson,

Thank you very much for the above screenshots. I managed to get an HTTP status code of 200 indicating that the authorization is working. However, the Response Content looks not so much like features or issues within the JIRA project, but more like the HTML source code for the web-page. Please see below:

22021.png

22022.png
​I'll keep testing, and see if I can figure it out.

Many thanks,
Ben



------------------------------
Benjamin Anderson,
Senior Consultant,
UK
------------------------------
Benjamin Anderson, Senior Consultant, UK

@Benjamin Anderson,

That's definitely not the response content​ you should be seeing. 🤔 I'll dig a bit deeper on our side too, and see if there's anything else I can turn up.

Cheers,

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------