Hi Community,
I am trying to create several issues from a CSV via REST API. My token also seems to work, as I get a valid JSON response to the /rest/api/3/project/search endpoint.
However, as soon as I try to GET or POST an issue in the /rest/api/3/issue/ endpoint, I only get the following HTML code back.
Do you have any idea what this could be?
Thanks and best regards
JSON for POST / Create Issue
{
"fields": {
"project": {
"key": "TEST"
},
"issuetype": {
"name": "Task"
},
"description": "example",
"summary": "Test"
}
}
HTML Response
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Oops - an error has occurred</title>
<link type='text/css' rel='stylesheet' href='/static-assets/metal-all.css' media='all'>
<script src='/static-assets/metal-all.js'></script>
<meta name="decorator" content="none" />
</head>
<body class=" error-page error500">
<script type="text/javascript">
document.body.className += " js-enabled";
</script>
<div id="page">
<header id="header" role="banner"></header><!-- #header -->
<section id="content" role="main">
<div class="aui-page-panel">
<div class="aui-page-panel-inner">
<section class="aui-page-panel-content lowerContent">
<div id="error-state"><span class="error-type"></span>
<h1>Something went wrong</h1>
<p>Try reloading the page, then check our <a
href="https://status.atlassian.com">Statuspage</a> for any current outages. If there
are no relevant outages, create a <a
href="https://support.atlassian.com/contact/">support request</a> so we can help you
out.</p>
<p>If you create a request, include the following so we can help you as fast as possible:
</p>
<ul>
<li>Error type: <strong>500 - Internal server error</strong></li>
<li>Log reference: <strong>21dc8b8b-8468-4690-8afe-5ff37b32a929</strong></li>
</ul>
</div>
</section><!-- .aui-page-panel-content -->
</div><!-- .aui-page-panel-inner -->
</div><!-- .aui-page-panel -->
</section><!-- #content -->
<footer id="footer" role="contentinfo">
<section class="footer-body">
<div id="footer-logo"><a href="http://www.atlassian.com/" rel="nofollow">Atlassian</a></div>
</section>
</footer><!-- #footer -->
</div><!-- #page -->
</body>
</html>