Hi Community,
I'm trying to connect my Jira Cloud from Qlik Sense (installed on AWS):
Here're the steps I'm following:
https://xxxxxx.atlassian.net/rest/api/latest/search/?jql=project=XXXX&fields=summary,description,status,created
By testing this connection from Qlik Sense, I'm getting the attached error message.
Here's the link I'm following in order to create a JSESSIONID: https://developer.atlassian.com/server/jira/platform/cookie-based-authentication/?_ga=2.140616625.2025560691.1590131812-631798207.1575300490
I'm using the below curl command: curl -X POST https://XXXXX.atlassian.net:8090/jira/rest/auth/1/session -H "content-type: application/json" -d "{"username": "XXXXXX", "password": "XXXX!"}"
And getting the following error message: curl: (7) Failed to connect to finologee.atlassian.net port 8090: Timed out
What is wrong here? I'm able to reach my Jira instance from a web browser but this is not working from a curl command :/
Thanks a lot for your help,
Simon
Hi @[deleted] ,
I'm seeing one obvious error here, in your curl command : you should not use the "8090" port to connect to your site. You curl command should look like :
curl -X POST https://XXXXX.atlassian.net/jira/rest/auth/1/session -H "content-type: application/json" -d "{"username": "XXXXXX", "password": "XXXX!"}"
Let me know if this helps,
--Alexis
Thanks for your feedback Alexis.
By removing the port, here's the result:
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Oops, you've found a dead link. - JIRA</title><link type='text/css' rel='stylesheet' href='/static-assets/metal-all.css' media='all'><script src='/static-assets/metal-all.js'></script><!--[if lt IE 9]><link type='text/css' rel='stylesheet' href='/static-assets/metal-all-ie.css' media='all'><script src='/static-assets/metal-all-ie.js'></script><![endif]--><!--[if IE 9]><link type='text/css' rel='stylesheet' href='/static-assets/metal-all-ie9.css' media='all'><![endif]--><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"></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>Oops, you've found a dead link.</h1><ul><li>Go back to the <a href="javascript:window.history.back()">previous page</a></li><li>Go to the <a href="/secure/MyJiraHome.jspa">Home Page</a></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">
<ul class="atlassian-footer">
<li>
Atlassian JIRA <a class="seo-link" href="https://www.atlassian.com/software/jira">Project Management Software</a>
<span id="footer-build-information">(v1001.0.0-SNAPSHOT#100127-<span title='ff24dc8ebb7c671d6f98aa545c62f3b905b0d71c' data-commit-id='ff24dc8ebb7c671d6f98aa545c62f3b905b0d71c}'>sha1:ff24dc8</span>)</span>
</li>
<li>
<a id="about-link" href="/secure/AboutPage.jspa">About JIRA</a>
</li>
<li>
<a id="footer-report-problem-link" href="/secure/ContactAdministrators!default.jspa">Report a problem</a>
</li>
</ul>
<div id="footer-logo"><a href="http://www.atlassian.com/" rel="nofollow">Atlassian</a></div></section></footer><!-- #footer --></div><!-- #page --></body></html>
Do you have an idea about what's missing/wrong?
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That means you're reaching the Atlassian cloud site. Now you need to get the proper REST API.
You should have a look at this documentation for authentication : https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/
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.