PowerPlatformConnectors icon indicating copy to clipboard operation
PowerPlatformConnectors copied to clipboard

[BUG] Jira Search (Independent Publisher) - 401 Unauthorized due to deprecated authentication type

Open mattbze opened this issue 3 years ago • 2 comments

Type of Connector

Independent Publisher Connector

Name of Connector

Jira Search

Describe the bug

This connector is no longer able to authenticate with Jira Cloud. This is due to Jira Cloud deprecating basic auth for API requests.

{ "error": { "code": 401, "source": "uk-001.azure-apim.net", "clientRequestId": "53605c25-1ca8-41fb-b895-cdd8365da606", "message": "The response is not in a JSON format.", "innerError": "Basic authentication with passwords is deprecated. For more information, see: https://developer.atlassian.com/cloud/confluence/deprecation-notice-basic-auth/\n" } }

Is this a security bug?

No, this is not a security bug

What is the severity of this bug?

Severity 1 - Connector is broken or there's a very serious issue

To Reproduce

Set up a new power automate flow with this Jira Search (Independent Publisher) connector, use an account you know will auth when you login to Jira Cloud manually.

Expected behavior

I expected authentication to Jira Cloud to be authorized and the API requests to call successfully.

Environment summary

Install Method (e.g. pip, interactive script, apt-get, Docker, MSI, edge build) CLI version (paconn --version) OS version Shell Type (e.g. bash, cmd.exe, Bash on Windows)

Additional context

Likely requires an update to fix

mattbze avatar Jul 26 '22 08:07 mattbze

Hi @paulculmsee are you aware of this issue?

natalie-pienkowska avatar Jul 28 '22 16:07 natalie-pienkowska

No and I no longer have access to a Jira cloud instance to confirm as my client switched back to Jira Datacenter (onprem).

I'll have to spin up a demo instance and test but the docco here suggests that api token will work with basic auth. If anyone has a chance to confirm/replicate this please let me know.

https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/

paulculmsee avatar Aug 01 '22 08:08 paulculmsee

Hi all,

I can confirm that I was able to use the JIRA SEARCH feature in Power Automate. It's as @paulculmsee suggests above. Simply provide your email address for your JIRA user in the "username" field. In the "password" field, provide the API token you created in your JIRA user account. Works like a charm!

Cheers, Dave

pmf-dave avatar Oct 26 '22 18:10 pmf-dave

Thank you so much @pmf-dave. @mattbze can you please confirm and close the issue. Thank you so much.

Amjed-Ayoub avatar Oct 26 '22 18:10 Amjed-Ayoub