Authenticate to JIRA with gmail in python
Asked Answered
P

1

7

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']));
Pistareen answered 14/8, 2015 at 8:18 Comment(2)
What's the error returned?Hebbe
it was unable to authenticate the userPistareen
O
5

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

Oliana answered 17/8, 2015 at 11:55 Comment(1)
I tried this but I think this work when we have a jira account.Pistareen

© 2022 - 2024 — McMap. All rights reserved.