how to connect jira database using python
I can't answer you question, but doing anything but reading the DB directly can corrupt it.
First hit on search engine for me was for MySQL (one of the four types Jira supports) - see https://www.w3schools.com/python/python_mysql_getstarted.asp
However, exactly as @Joe Pitt suggests, I cannot recommend it.
Please, look to use the REST API for this - you can get a whole issue with a single statement, and Python has good REST interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.