Skip to content

Instantly share code, notes, and snippets.

@JustellVonk
Created August 1, 2018 18:41
Show Gist options
  • Save JustellVonk/6ce259dc5bc571458d6f3dbbb9f766f7 to your computer and use it in GitHub Desktop.
Save JustellVonk/6ce259dc5bc571458d6f3dbbb9f766f7 to your computer and use it in GitHub Desktop.
Edited code for Linux.
#!/usr/bin/env python
from jira import JIRA
import getpass
options = {
'server': 'https://pmc.acronis.com/'
}
login = raw_input('Login:')
p = getpass.getpass('Password:')
basic_auth = (login, p)
jira_instance = JIRA('https://pmc.acronis.com/', options, basic_auth)
issues = jira_instance.search_issues('reporter=alena.leonova')
print(issues)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment