Hi,
I just started today with experimenting the Jira REST API (using Python). I'm following these steps:
https://jira.readthedocs.io/en/master/installation.html
Then started my Python script like this:
from jira import JIRA
jira = JIRA()
jac = JIRA('https://jira.wehkampgroep.nl')
It keeps using localhost when running this code. It looks that the "jac"
parameter doesn't work.
Any idea?
Regards,
Eelco
It should be
options = {'server': 'https://jira.wehkampgroep.nl'}
jac = JIRA(options)
You'll also have to pass authentication. Authentication
How do I connect to my localhost using the same command?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's the same options but with localhost instead.
options = {'server': 'http://localhost:8080'}
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.