It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Marco A Marquez Feb 09, 2013

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
Nic Brough [Adaptavist] Community Leader Feb 09, 2013

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

Marco A Marquez Feb 09, 2013

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.

Nic Brough [Adaptavist] Community Leader Feb 09, 2013

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.

1 vote
Kinto Soft Feb 09, 2013

The REST API provides the base url:

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

Pablo.

1 vote
Kostiantyn Ianovskyi Jul 08, 2016

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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

1,060 views 13 15
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you