I want to create a jira issue in python. I know how to set the summary, issue type, description and project name but I can't find how to set priority, due date, environment and other fields.
This is what I know:
new_issue = jira.create_issue(project={'key': 'key'}, summary='New issue from jira- python', description='Look into this one', issuetype={'name': 'Bug'})
How can I set the other fields?