Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authenticate to JIRA with gmail in python

I am trying to authenticate to jira by google sign-in using a python script . I am using jira python library.

I tried using basic_auth but it failed with error as my account is registered through gmail.

jira=JIRA(options,basic_auth=(values['USERNAME'],values['PASSWORD']));
like image 560
user3351750 Avatar asked Aug 14 '15 08:08

user3351750


1 Answers

When you first logged in as a Google user to the system, you would have been prompted to create an "OnDemand" password, used for things like Subversion or authenticated RSS feed access. This is the password you will need to use when using the JIRA API.

If you can't remember this password, please see: https://confluence.atlassian.com/display/AOD/Changing+Your+Password+in+Atlassian+OnDemand

Source

like image 195
Yohann Avatar answered Sep 29 '22 00:09

Yohann