I'm trying to use the REST API to python to export issues. To get access to Jira, I have to connect to the Server first with login data (USER1, PASSWORD1). This python code works fine:
from atlassian import Jira
jira = Jira(
url='https://xxx',
username='USER1',
password='PASSWORD1'
)
However, to get access to JIRA, I have additional login data (USER2, PASSWORD2), so that I cannot retrieve information (e.g. jira.issue('XXX') as I do not have any permission to do so. Is there an easy solution to this problem or respectively to put both login data in the Jira command?