marc0l92 / joplin-plugin-jira-issue

Retrieve Atlassian Jira issues information using their api in order to track the status of them from your Joplin notes.
MIT License
27 stars 9 forks source link

Not possible to login with Atlassian account in Jira Cloud #12

Closed vidbaz closed 2 years ago

vidbaz commented 2 years ago

Hey Guys, Thanks for the work, I tried the authentication method but it's not working... for example I am trying with the following url https://exampledomain.atlassian.net/jira/ and my Atlassian credentials. Is it possible to login with Jira Cloud? I researched here about the basic authentication https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/#basic-auth-for-rest-apis and also I already review src/jiraClient.ts and src/settings.ts and looks like the url is build OK, even I tried to generate an API Token and logging with it but no luck.

do you have any clue?

Error : HTTP status 401

marc0l92 commented 2 years ago

I'm not able to test this plugin with Atlasian Cloud because my company uses an on premises server to host Jira.

I had the same issue as you while testing this plugin, but it was happening only when I was using the basic authentication in the URL. When instead I started using the authentication header I was able to login, so I implemented the plugin in this way.

Can you post this question in the Joplin forum? Maybe someone else will be able to help us understand what is not working.

https://discourse.joplinapp.org/t/plugin-jiraissue/15197

marc0l92 commented 2 years ago

No reply from the issue creator