gvoss / php-mediawiki-jiki

A PHP MediaWiki plugin that displays a list of JIRA issues on a wiki page.
MIT License
5 stars 8 forks source link

Basic auth with password no longer supported in JIRA cloud #14

Open gamiller0-tva opened 1 year ago

gamiller0-tva commented 1 year ago

Hi,

We were forced to move our small JIRA instance to the cloud since on-prem is no longer supported... Trying to see if I can get this setup with a cloud instance. From what I can tell, basic auth with a password is no longer supported for the cloud version.

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

Any chance you could update to allow for an API token?

Thanks!

gvoss commented 1 year ago

Hey @gamiller0-tva - thanks for the interest! Unfortunately there's a few things that limit my development of this extension:

  1. I no longer have access to a JIRA environment to do testing/development of the extension
  2. I no longer host my own mediawiki wiki (basically same problem as above)

So unfortunately I probably won't be able to enhance the plugin at all but if you're interested in submitting a PR or even taking over maintenance I'd be happy to work with you on that.

gamiller0-tva commented 1 year ago

Hi gvoss. Thanks for the quick response. I'll talk internally and see if we have the skills to update. Thanks for your willingness to work with us on this.

gamiller0-tva commented 1 year ago

Turns out this does work :). All I had to do was use the API token as the password. No changes necessary.