Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

No REST API v2 endpoints

Philipp I'm New Here Nov 09, 2021

It seems like my local Jira Server generated by the Atlassian SDK has only REST API v1 endpoints.

My Jira version is v8.13.7 and by baseUrl is http://localhost:2990/jira

Is something configured wrong?


Query to REST API v1 works:

curl --request GET \
--url 'http://localhost:2990/jira/rest/api/1.0/endpoint' \
--user 'user:pass' \
--header 'Accept: application/json'

{"nevilleBartos":"There's no end points here. Here, there's no end points, alright? End points *no*, Robbo?","robbo":"No end points!"}


Query to REST API v2 (also v3) doesn't work:

It's not just this one, it's all enpoints with v2 v3 and latest.

curl --request GET \
--url 'http://localhost:2990/jira/rest/api/2/dashboard' \
--user 'user:pass' \
--header 'Accept: application/json'

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Oops, sie haben einen toten Link gefunden. - JIRA</title><script type="text/javascript">contextPath = "/jira";</script><link type='text/css' rel='stylesheet' href='/jira/static-assets/metal-all.css' media='all'><script src='/jira/static-assets/jquery-min.js'></script><script src='/jira/static-assets/metal-all.js'></script><meta name="decorator" content="none" /></head><body class=" error-page error404"><script type="text/javascript">document.body.className += " js-enabled";</script><div id="page"><header id="header" role="banner" aria-label="Site"></header><div id="content"><div class="aui-page-panel" ><div class="aui-page-panel-inner"><main role="main" id="main" class="aui-page-panel-content lowerContent" ><div id="error-state"><span class="error-type"></span><h1>Oops, sie haben einen toten Link gefunden.</h1><ul><li>Gehe zurück <a href="javascript&colon;window.history.back()">zur letzten Seite</a></li><li>Gehe zur <a href="/jira/secure/MyJiraHome.jspa">Startseite </a></li></ul></div></main></div></div></div><footer id="footer" role="contentinfo"><section class="footer-body"><ul class="atlassian-footer">
Atlassian Jira <a class="seo-link" rel="nofollow" href="">Project Management Software</a>
<span id="footer-build-information">(v8.13.7#813007-<span title='3e6833b6aa4b98966fa10c8ab5e2a573d1da0bde' data-commit-id='3e6833b6aa4b98966fa10c8ab5e2a573d1da0bde}'>sha1:3e6833b</span>)</span>
<a id="about-link" rel="nofollow" href="/jira/secure/AboutPage.jspa/secure/AboutPage.jspa">About Jira</a>
<a id="footer-report-problem-link" rel="nofollow" href="/jira/secure/CreateIssue!default.jspa">Report a problem</a>
<p class="atlassian-footer">
<span class="licensemessage">
Diese <a rel='nofollow' href=''>Jira</a>-Website dient lediglich der nicht produktiven Verwendung.

<div id="footer-logo"><a href="" rel="nofollow">Atlassian</a></div></section></footer></div></body></html>

The REST API Browser is also only showing v1.0 endpoints.

Screenshot 2021-11-09 191039.png


1 answer

1 accepted

0 votes
Answer accepted
Philipp I'm New Here Nov 10, 2021

Problem was that the REST API plugin wasn't started.

Restarting helped.

Deleting the generated plugin folders .bundles-plugins & .osgi-plugins in /target/jira/home/plugins may have also helped.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

182 views 0 5
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