How to effectively find the JIRA's Base URL if you don't have access to Administrative Console

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?

3 answers

1 accepted

0 votes
Answer accepted

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.

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.

The REST API provides the base url:

http://docs.atlassian.com/jira/REST/latest/#id105760

Pablo.

ComponentAccessor.getApplicationProperties().getString(APKeys.JIRA_BASEURL);

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 14, 2019 in Jira

Updates to jira.atlassian.com give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

626 views 1 15
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you