Creating a simple Jira API program in python

Hello all -
I’m trying to make a simple Python script interacting with Jira’s API to create a ticket and, while I’m getting a 200 reply from the server, its not posting the ticket. How do I know if I have the correct ID, or what steps do I need to take to create a ticket? Attached: my code