Add this line in the code
options = { :username =>jiraUsrname, :password =>jiraPwd, :site => jiraUrlnew, :contextpath => '', :authtype => :basic, :usessl => true, :sslverifymode => OpenSSL::SSL::VERIFYNONE } :sslverifymode => OpenSSL::SSL::VERIFY_NONE this line of code fix this issue
Add this line in the code
options = {
:username =>jiraUsrname,
:password =>jiraPwd,
:site => jiraUrlnew,
:contextpath => '',
:authtype => :basic,
:usessl => true,
:sslverifymode => OpenSSL::SSL::VERIFYNONE
}
:sslverifymode => OpenSSL::SSL::VERIFY_NONE this line of code fix this issue