<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic What goes wrong with Jira rest connector? in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8001#M92</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since last Jira update, the maxResults is passed to 100 instead of 1000 earlier.&lt;/P&gt;&lt;P&gt;Jira uses&amp;nbsp; offset, with startAt to identify the record where to begin, maxResults to determine how much records and&amp;nbsp; root/total for the total results in the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am using pagination with offset to try to retrieve 558 records from jira, with 50 records each page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configured the rest connection and injected the script to load data, bellow you may found the screen shots, authentification schema is basic with a login and a password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The URL is a basic rest API call (I deleted the url of the server bellow).&lt;/P&gt;&lt;P&gt;rest/api/latest/search?&amp;amp;jql=project =ANO &amp;amp;fields=Key,summary,fixVersions,customfield_10104,priority,customfield_10100,customfield_10103,versions,status,components,customfield_10604,issuetype,resolutiondate,created,customfield_11605,customfield_12000,customfield_12002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My problem is that I can not get all data. In my case, the rest connector should retreive 12 pages of data. When loonking to imported data I have the impression that it load 12 time the first page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do you have encouter a similar problem ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any ideas? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sans titre.png" class="jive-image image-2" src="/legacyfs/online/191603_Sans titre.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sans titre.png" class="jive-image image-1" src="/legacyfs/online/191602_Sans titre.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sans titre.png" class="jive-image image-3" src="/legacyfs/online/191604_Sans titre.png" style="height: 258px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jan 2018 09:28:58 GMT</pubDate>
    <dc:creator>hhajjali</dc:creator>
    <dc:date>2018-01-27T09:28:58Z</dc:date>
    <item>
      <title>What goes wrong with Jira rest connector?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8001#M92</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since last Jira update, the maxResults is passed to 100 instead of 1000 earlier.&lt;/P&gt;&lt;P&gt;Jira uses&amp;nbsp; offset, with startAt to identify the record where to begin, maxResults to determine how much records and&amp;nbsp; root/total for the total results in the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am using pagination with offset to try to retrieve 558 records from jira, with 50 records each page.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configured the rest connection and injected the script to load data, bellow you may found the screen shots, authentification schema is basic with a login and a password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The URL is a basic rest API call (I deleted the url of the server bellow).&lt;/P&gt;&lt;P&gt;rest/api/latest/search?&amp;amp;jql=project =ANO &amp;amp;fields=Key,summary,fixVersions,customfield_10104,priority,customfield_10100,customfield_10103,versions,status,components,customfield_10604,issuetype,resolutiondate,created,customfield_11605,customfield_12000,customfield_12002&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;My problem is that I can not get all data. In my case, the rest connector should retreive 12 pages of data. When loonking to imported data I have the impression that it load 12 time the first page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Do you have encouter a similar problem ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any ideas? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sans titre.png" class="jive-image image-2" src="/legacyfs/online/191603_Sans titre.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sans titre.png" class="jive-image image-1" src="/legacyfs/online/191602_Sans titre.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sans titre.png" class="jive-image image-3" src="/legacyfs/online/191604_Sans titre.png" style="height: 258px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 09:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8001#M92</guid>
      <dc:creator>hhajjali</dc:creator>
      <dc:date>2018-01-27T09:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: What goes wrong with Jira rest connector?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8002#M93</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use custom pagination and create logic in load script to create different pages to load: &lt;/P&gt;&lt;P&gt;The vMyUrl is well structured because I copied it values from the trace and test it in navigator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still QLik give me the same results, I think it send request ignoring the startAt and maxResults... Even by forcing the parameters startAt=100 and maxResults=10, it load first 50 records and starting from position 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you how to debug the message sent from Qlik Sense? Wireshark would work ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Sans titre.png" class="jive-image image-1" src="/legacyfs/online/191608_Sans titre.png" style="height: 660px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A helpful page: &lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/1.0/Create-REST-connection/Loading-paged-data.htm?_ga=2.61476396.1843087527.1516959992-1961611840.1507728064" title="https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/1.0/Create-REST-connection/Loading-paged-data.htm?_ga=2.61476396.1843087527.1516959992-1961611840.1507728064"&gt;https://help.qlik.com/en-US/connectors/Subsystems/REST_connector_help/Content/1.0/Create-REST-connection/Loading-paged-data.htm?_ga=2.61476396.1843087527.1516959992-1961611840.1507728064&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 19:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8002#M93</guid>
      <dc:creator>hhajjali</dc:creator>
      <dc:date>2018-01-27T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: What goes wrong with Jira rest connector?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8003#M94</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have found root cause of the problem but not yet the solution.&lt;/P&gt;&lt;P&gt;The URL I am giving to contain a JQL request in which I have a jira custom field. The custom field name is composed of 2 words "Feature Team".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually the JQL can be like : projet=ANO and "Feature Team"=TEAM1&amp;amp;startAt=0&amp;amp;maxResults=100.&lt;/P&gt;&lt;P&gt;This JQL work correcly in navigator or any other rest reader program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In qlik sense it ignores all what I wave after the double quotes (&lt;STRONG&gt;"&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;I have tested my second comment script without "Feature Team" and it working great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the problem now, do you know how can I ignore double quotes in variables in load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 20:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8003#M94</guid>
      <dc:creator>hhajjali</dc:creator>
      <dc:date>2018-01-27T20:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: What goes wrong with Jira rest connector?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8004#M95</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To ignore double quotes ", all what you hace to do is to add another double quotes " --&amp;gt; ref Oracle Loader documentation.&lt;/P&gt;&lt;P&gt;So my second responses is the correct answer to my problem, and extra hints in this comment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 21:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8004#M95</guid>
      <dc:creator>hhajjali</dc:creator>
      <dc:date>2018-01-27T21:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: What goes wrong with Jira rest connector?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8005#M96</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Haj Ali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you ever get this working correctly? I'm trying to do the same but my results are limited to the first 50 records no what what I try.&lt;/P&gt;&lt;P&gt;It doesn't look like my API call works when I use the startAt and MaxResults values. I thought it may have been down to my use of the " character or the user of the '-' in the issuetype name in the search criteria of the query:&lt;/P&gt;&lt;P&gt;&lt;A href="http://jira/rest/api/2/search?jql=issuetype%20=%20&amp;quot;THIS%20-%20PROJECT&amp;quot;%20and%20assignee%20=%20&amp;quot;User1&amp;quot;&amp;amp;fields=id,%20key,%20description,%20issuetype,%20summary,%20assignee,%20reporter,%20priority,%20status,%20%20issuetyp,%20parent,%20subtasks,%20customfield_18013,%20customfield_18014,%20customfield_18015,%20customfield_12101,%20duedate&amp;amp;startAt=50&amp;amp;maxResults=50" title="http://jira/rest/api/2/search?jql=issuetype%20=%20&amp;quot;THIS%20-%20PROJECT&amp;quot;%20and%20assignee%20=%20&amp;quot;User1&amp;quot;&amp;amp;fields=id,%20key,%20description,%20issuetype,%20summary,%20assignee,%20reporter,%20priority,%20status,%20%20issuetyp,%20parent,%20subtasks,%20customfield_18013,%20customfield_18014,%20customfield_18015,%20customfield_12101,%20duedate&amp;amp;startAt=50&amp;amp;maxResults=50"&gt;http://jira/rest/api/2/search?jql=issuetype%20=%20"THIS%20-%20PROJECT"%20and%20assignee%20=%20"User1"&amp;amp;fields=id,%20key,%…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tried the custom pagination yet, I just want to check if my query is right first before I try again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 15:49:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8005#M96</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-20T15:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: What goes wrong with Jira rest connector?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8006#M97</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One other thing, in the for loop you need to use $ expansion for total i.e. $(total), also use the Next statement at the end of the loop to continue on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great work though Haidar, this was a really helpful article, so good to read something that's straight forward, all on the one thread and not loaded with comments from other users giving multiple links to other articles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/What-goes-wrong-with-Jira-rest-connector/m-p/8006#M97</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-21T09:33:59Z</dc:date>
    </item>
  </channel>
</rss>

