Hi guys,
Im try to create a new issue from a python script BUT using a dict.
However the api say that i have no permission for do that (not even if i want to see an issue)
how can i fix that?
import base64
import urlparse
from tlslite.utils import keyfactory
import oauth2 as oauth
from jira.client import JIRA
from jira.client import JIRA
jira = JIRA()
jac = JIRA(options={'server': 'https://xxx.atlassian.net'})
key_cert_data = None
with open('./jira.pem', 'r') as key_cert_file:
key_cert_data = key_cert_file.read()
oauth_dict = {
'access_token': 'xxxxxx',
'access_token_secret': 'xxxxxx',
'consumer_key': 'hardcore',
'key_cert': key_cert_data
}
authed_jira = JIRA(oauth=oauth_dict)
issue = jira.issue('LEET-1')