You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation in the README regarding authentication with Personal Access Tokens is misleading. The documentation says "Specifically, the paremeters :username and :password are not needed.", yet the example provided shows the two parameters being used:
options={:site=>'http://mydomain.atlassian.net:443/',:context_path=>'',:username=>'<the email you sign-in to JIRA>',:password=>api_token,:auth_type=>:basic}
Expected Behavior
In my experience, the options need to be configured as follows to connect with a PAT:
options={:site=>'http://mydomain.atlassian.net:443/',:username=>'<the email you sign-in to Jira>',:password=>'',:default_headers=>{'Authorization'=>"Bearer PERSONAL_ACCESS_TOKEN"}
:auth_type=> :basic}
The documentation should be updated to include a correct set of options, and the description should be updated to reflect the changes.
I hope this is the right place to raise an issue like this.
The text was updated successfully, but these errors were encountered:
Subject of the Issue
The documentation in the README regarding authentication with Personal Access Tokens is misleading. The documentation says "Specifically, the paremeters :username and :password are not needed.", yet the example provided shows the two parameters being used:
Expected Behavior
In my experience, the options need to be configured as follows to connect with a PAT:
The documentation should be updated to include a correct set of options, and the description should be updated to reflect the changes.
I hope this is the right place to raise an issue like this.
The text was updated successfully, but these errors were encountered: