Hi Everyone,
I'm running into a seemly simple issue: I can't find the base URL of my JIRA instance. Now, I try to make calls to:
https://jira.inside-company.net/rest/api/2/issue/ISSUE-645
or
https://jira.inside-company.net:8080/rest/api/2/search?jql=assignee=marcoam
I figured that when making calls, the base url would simply be jira.inside-company.net since I access JIRA that way:
https://jira.inside-company.net/secure/Dashboard.jspa
and browsing is:
https://jira.inside-company.net/browse/ISSUE-645
However, the API calls seem to both give me 404's :( How can I find out the correct Base URL if I don't have access to the DB or the administrative console?
For a correctly configured Jira, you should find it's https://jira.inside-company.net - you can see it from the "browse" line if nothing else.
You can also do a really simple check - read an email from an issue comment or change - they build the urls you find in them from {baseurl}/{target}. If an email says http://mrflibble/browse/penguin-1, you know it's used the base url of http://mrflibble
Alright, I guess my company has some extra security or something since I can't access anything. I get a 404 when trying to access the endpoint: {BASE_URL}/rest/api/2/search?jql=assignee=marcoam.
Any ideas of what it could be? If I can't figure out, I guess I'll wait until tomorrow to ask my IT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's possible for an admin to deliberately disable it, that would be my first guess (I am assuming you can see Jira in a browser). If it's enabled, then it's probably a network thing.
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.
ComponentAccessor.getApplicationProperties().getString(APKeys.JIRA_BASEURL);
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.