<?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 Re: Extract data from JIRA REST API in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208566#M7736</link>
    <description>i got this working now, i found out that i was still using the API directly from the browser instead of the API i get returned from the tJIRAInput component. for the same issue in JIRA i get slightly different API returned in JSON... 
&lt;BR /&gt;however, i now get data from the tJIRAInput thru tExtractJSONFields to tFileOutputExcel, but i only get data from the root..so if my JSON looks like this: 
&lt;BR /&gt;{ 
&lt;BR /&gt;"expand": "operations,versionedRepresentations,editmeta,changelog,transitions,renderedFields", 
&lt;BR /&gt;"id": "174784", 
&lt;BR /&gt;"self": "https://jira..nl/rest/api/2/issue/174784", 
&lt;BR /&gt;"key": "SAN-145", 
&lt;BR /&gt;"fields": { 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"issuetype": { 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"self": "https://jira..nl/rest/api/2/issuetype/7", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"id": "7", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"description": "Created by JIRA Software - do not edit or delete. Issue type for a user story.", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"iconUrl": "https://jira..nl/secure/viewavatar?size=xsmall&amp;amp;avatarId=11615&amp;amp;avatarType=issuetype", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"name": "Story", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"subtask": false, 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"avatarId": 11615 
&lt;BR /&gt;NOTE:&amp;nbsp;this is just the top part of the JSON 
&lt;BR /&gt;i would like to retrieve data from the 'issuetype' asswell, does anyone know what JSON query i have to use to get to the nested data? 
&lt;BR /&gt;for attributes like &amp;nbsp;'id' or 'self' i just use the JSON query: "id" and "self" because i use the Loop Jsonpath query: "$", which should give me acces to all the data in the API right?</description>
    <pubDate>Mon, 03 Oct 2016 12:35:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-03T12:35:31Z</dc:date>
    <item>
      <title>Extract data from JIRA REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208560#M7730</link>
      <description>&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;i want to extract data from JIRA and eventually write it into an Excel file. for the extraction of data in the JIRA REST API i am using tREST and tExtractJSONFields. however the first component i use is tREST and NOT (tRESTClient), i use a REST API from JIRA and it runs without an error but only retrieves one single row...&lt;BR /&gt;see screenshot for my Job, in the first place i would like to retrieve all data from the REST API that i get from JIRA and later on filter for specific atributes.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;NB. also i would like to add that when i use just tREST --&amp;gt; tLogRow, i only get the first part of the REST API JSON code... i don't get the whole REST API from JIRA. when i paste the url in the browser i do see the entire code...does anoyone know what i am doing wrong?&lt;BR /&gt;the URL in tREST =&amp;nbsp;"..nl/rest/api/latest/search"&lt;BR /&gt;and the HTTP headers are:&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;name: "jql"&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;BR /&gt;value: "issues=san-145&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;so the complete URL in the browser would be: ..nl/rest/api/latest/search?jql=issue%3Dsan-145&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/402387/Capture2.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBfl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146332i45CCB013B706C62F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBfl.png" alt="0683p000009MBfl.png" /&gt;&lt;/span&gt; &lt;/A&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="1"&gt;&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/402387/blob.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBfm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149092i7B4D901C6A169E37/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBfm.png" alt="0683p000009MBfm.png" /&gt;&lt;/span&gt; &lt;/A&gt;&lt;BR /&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 27 Sep 2016 13:06:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208560#M7730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-27T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from JIRA REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208561#M7731</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;It is better to use the special component tJiraInput which is available since version 6.2.1. 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 27 Sep 2016 23:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208561#M7731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-27T23:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from JIRA REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208562#M7732</link>
      <description>Hi Shong, 
&lt;BR /&gt;thanks for the advice, this sounds much better to me as i just want to read data from JIRA. 
&lt;BR /&gt;i installed the new version and java8 on my machine, i started making a new job and when i want to use the tJIRAInput component i get the warning that i have to install at least one jar file. 
&lt;BR /&gt;when i select one OR all of them to download and install i get the following error message, can someone help me? please keep in mind that i am new to Talend and also don't have much experience with java too. 
&lt;BR /&gt;An error occured (Download slf4j-log4j12-1.7.2.jar failed!). 
&lt;BR /&gt;See log for more details. 
&lt;BR /&gt;java.lang.Exception: Download slf4j-log4j12-1.7.2.jar failed! 
&lt;BR /&gt; at org.talend.librariesmanager.utils.DownloadModuleRunnable.downLoad(DownloadModuleRunnable.java:117) 
&lt;BR /&gt; at org.talend.librariesmanager.utils.DownloadModuleRunnable.run(DownloadModuleRunnable.java:68) 
&lt;BR /&gt; at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) 
&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Wed, 28 Sep 2016 10:08:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208562#M7732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T10:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from JIRA REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208563#M7733</link>
      <description>i think there might be a bug there, because i could not download and install the modules for tJIRAInput, i kept getting errors. 
&lt;BR /&gt;so i tried to insert the tJIRAOutput component, that one also needed modules to be installed (maybe the same modules) and via that component (tJIRAOutput) i was able to download and install them...so that did actually resolve the problem. 
&lt;BR /&gt;now the job runs smoothly and i get my API information in a tLogRow, so great that works! 
&lt;BR /&gt;can i now use the tExtractJSONFields or should i directly use the tFileInputJSON?</description>
      <pubDate>Wed, 28 Sep 2016 12:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208563#M7733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-28T12:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from JIRA REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208564#M7734</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;The tJiraInput returns a json string, so you still need to use tExtractJsonFields to extract data from the return string.&amp;nbsp; 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 29 Sep 2016 04:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208564#M7734</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-29T04:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from JIRA REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208565#M7735</link>
      <description>thank you for your response Shong, i am now trying to use&amp;nbsp;tExtractJsonFields but i don't know what to fill in @ Loop Jsonpath query, see screenshot. 
&lt;BR /&gt;also the Json query is not clear to me, i now have there in the Column: id and in the Json query "$.issues" 
&lt;BR /&gt;but this does not return any rows. what kind of query commands can i use to retrieve such data. i wil post a part of the API here so you can see how it looks like. 
&lt;BR /&gt; 
&lt;A href="https://community.talend.com/legacyfs/online/membersTempo/402387/30-9.png" target="_blank"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MBfv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143918iF35765E723C65760/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MBfv.png" alt="0683p000009MBfv.png" /&gt;&lt;/span&gt; &lt;/A&gt; 
&lt;BR /&gt;{ 
&lt;BR /&gt;"expand": "names,schema", 
&lt;BR /&gt;"startAt": 0, 
&lt;BR /&gt;"maxResults": 50, 
&lt;BR /&gt;"total": 1, 
&lt;BR /&gt;"issues": .l/rest/api/latest/issue/174784", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "key": "SAN-145", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "fields": { 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"issuetype": { 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "self": "https://jira..nl/rest/api/2/issuetype/7", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "id": "7", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "description": "Created by JIRA Software - do not edit or delete. Issue type for a user story.", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "iconUrl": "https://jira..nl/secure/viewavatar?size=xsmall&amp;amp;avatarId=11615&amp;amp;avatarType=issuetype", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "name": "Story", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "subtask": false, 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "avatarId": 11615 
&lt;BR /&gt;},</description>
      <pubDate>Fri, 30 Sep 2016 09:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208565#M7735</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-30T09:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from JIRA REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208566#M7736</link>
      <description>i got this working now, i found out that i was still using the API directly from the browser instead of the API i get returned from the tJIRAInput component. for the same issue in JIRA i get slightly different API returned in JSON... 
&lt;BR /&gt;however, i now get data from the tJIRAInput thru tExtractJSONFields to tFileOutputExcel, but i only get data from the root..so if my JSON looks like this: 
&lt;BR /&gt;{ 
&lt;BR /&gt;"expand": "operations,versionedRepresentations,editmeta,changelog,transitions,renderedFields", 
&lt;BR /&gt;"id": "174784", 
&lt;BR /&gt;"self": "https://jira..nl/rest/api/2/issue/174784", 
&lt;BR /&gt;"key": "SAN-145", 
&lt;BR /&gt;"fields": { 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"issuetype": { 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"self": "https://jira..nl/rest/api/2/issuetype/7", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"id": "7", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"description": "Created by JIRA Software - do not edit or delete. Issue type for a user story.", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"iconUrl": "https://jira..nl/secure/viewavatar?size=xsmall&amp;amp;avatarId=11615&amp;amp;avatarType=issuetype", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"name": "Story", 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"subtask": false, 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;"avatarId": 11615 
&lt;BR /&gt;NOTE:&amp;nbsp;this is just the top part of the JSON 
&lt;BR /&gt;i would like to retrieve data from the 'issuetype' asswell, does anyone know what JSON query i have to use to get to the nested data? 
&lt;BR /&gt;for attributes like &amp;nbsp;'id' or 'self' i just use the JSON query: "id" and "self" because i use the Loop Jsonpath query: "$", which should give me acces to all the data in the API right?</description>
      <pubDate>Mon, 03 Oct 2016 12:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208566#M7736</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-03T12:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extract data from JIRA REST API</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208567#M7737</link>
      <description>i also fixed that, i have the following json query that retrieves nested data: "fields.issuetype.name" so that is solved.
&lt;BR /&gt;now i wan't to know if i can get API for a sprint rather than an project or issue?
&lt;BR /&gt;because the tJIRAInput component only has two options (JIRA resource), ISSUE or PROJECT. but i also would like to have data on SPRINT level....
&lt;BR /&gt;does anyone know how to manage this?</description>
      <pubDate>Mon, 03 Oct 2016 14:20:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Extract-data-from-JIRA-REST-API/m-p/2208567#M7737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-03T14:20:48Z</dc:date>
    </item>
  </channel>
</rss>

