Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsales authored Oct 8, 2022
1 parent f367348 commit e805074
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ api_token = API_TOKEN_OBTAINED_FROM_JIRA_UI
options = {
:site => 'http://mydomain.atlassian.net:443/',
:context_path => '',
:auth_type => :basic,
:default_headers => { 'Authorization' => "Bearer #{api_token}"}
:username => '<the email you sign-in to Jira>',
:password => api_token,
:auth_type => :basic
}

client = JIRA::Client.new(options)
Expand Down

0 comments on commit e805074

Please sign in to comment.