Problem:
I use following python script to get data from JIRA
jira = JIRA(
basic_auth=("user@xxx.com", "password"),
options={
'server': 'https://jira.com'
}
)
projects = jira.projects()
I got this exception as below:
jira.exceptions.JIRAError: JiraError HTTP 404 url: https://jira.com/rest/api/2/serverInfo
Environment:
JIRA server version: v7.13.11
Python version: 2.7
could you help me out?
The server is not where you are looking. You'll need to give it a valid url and a valid account to connect with.
I think I used the correct URL and user/pass. As they are sensitive information, so I gave something dummy here.
the problem is it returned 404 error, means no matter user/pass is correct or not, the URL doesn't exist. Any idea?
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.