<?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 How to pull the ALM defect data without specify the column names in XPath or JsonPath query? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-pull-the-ALM-defect-data-without-specify-the-column-names/m-p/2207629#M7185</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm using Talend OS for Big Data &lt;SPAN&gt;6.4.0 and MongoDB . Now, I was&amp;nbsp;&lt;/SPAN&gt;trying&amp;nbsp;to pull the ALM defect data (all the columns) and storing the data into DB. i want to get all the column details from defect without specifying the names in &lt;STRONG&gt;tExtractXMLFiled&lt;/STRONG&gt; OR &lt;STRONG&gt;tExtractJsonFiled&amp;nbsp;&lt;/STRONG&gt;XPath mapping. So that, i have directly stored the json response in DB.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Here My Job Detail:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tRestClient&lt;/STRONG&gt; --&amp;gt; response --&amp;gt; &lt;STRONG&gt;tMongoDBOutput&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;In the above job, directly storing the REST API response in mongodb as a json format.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Actual Output:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;{&lt;BR /&gt;"_id" : ObjectId("5ba38c8d52460b21c7f97e69"),&lt;BR /&gt;"string" : "{\"entities\":[{\"Fields\":[{\"Name\":\"detection-version\",\"values\":[{}]},{\"Name\":\"subject\",\"values\":[]},{\"Name\":\"description\",\"values\":[{\"value\":\"&amp;lt;html&amp;gt;&amp;lt;body&amp;gt; \\n&amp;lt;div align=\\\"left\\\" style=\\\"min-height:9pt\\\"&amp;gt;\\n&amp;lt;font face=\\\"Arial\\\"&amp;gt;&amp;lt;span dir=\\\"ltr\\\" style=\\\"font-size:8pt\\\"&amp;gt;When I'm trying to load the iDashboard application, some time it is showing blank page instead of login page.&amp;lt;/span&amp;gt;&amp;lt;/font&amp;gt;\\n&amp;lt;/div&amp;gt; \\n&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;\"}]},{\"Name\":\"target-rcyc\",\"values\":[{}]},{\"Name\":\"project\",\"values\":[{}]},{\"Name\":\"has-linkage\",\"values\":[{\"value\":\"N\"}]},{\"Name\":\"last-modified\",\"values\":[{\"value\":\"2018-09-06 07:33:06\"}]},{\"Name\":\"has-others-linkage\",\"values\":[{\"value\":\"N\"}]},{\"Name\":\"attachment\",\"values\":[{}]},{\"Name\":\"cycle-id\",\"values\":[]},{\"Name\":\"request-type\",\"values\":[{}]},{\"Name\":\"creation-time\",\"values\":[{\"value\":\"2018-09-06\"}]},{\"Name\":\"actual-fix-time\",\"values\":[]},{\"Name\":\"id\",\"values\":[{\"value\":\"1\"}]},{\"Name\":\"run-reference\",\"values\":[]},{\"Name\":\"request-note\",\"values\":[{}]},{\"Name\":\"request-server\",\"values\":[{}]},{\"Name\":\"severity\",\"values\":[{\"value\":\"1-Low\"}]},{\"Name\":\"to-mail\",\"values\":[{}]},{\"Name\":\"owner\",\"values\":[{\"value\":\"prakash\"}]},{\"Name\":\"detected-by\",\"values\":[{\"value\":\"pra\"}]},{\"Name\":\"step-reference\",\"values\":[]},{\"Name\":\"estimated-fix-time\",\"values\":[]},{\"Name\":\"reproducible\",\"values\":[{\"value\":\"Y\"}]},{\"Name\":\"ver-stamp\",\"values\":[{\"value\":\"1\"}]},{\"Name\":\"request-id\",\"values\":[]},{\"Name\":\"priority\",\"values\":[{\"value\":\"2-Medium\"}]},{\"Name\":\"cycle-reference\",\"values\":[{}]},{\"Name\":\"environment\",\"values\":[{}]},{\"Name\":\"target-rel\",\"values\":[{}]},{\"Name\":\"test-reference\",\"values\":[]},{\"Name\":\"planned-closing-ver\",\"values\":[{}]},{\"Name\":\"extended-reference\",\"values\":[{}]},{\"Name\":\"dev-comments\",\"values\":[{}]},{\"Name\":\"detected-in-rcyc\",\"values\":[{}]},{\"Name\":\"closing-version\",\"values\":[{}]},{\"Name\":\"name\",\"values\":[{\"value\":\"iDashboard application not loading properly in Production instance\"}]},{\"Name\":\"has-change\",\"values\":[{}]},{\"Name\":\"detected-in-rel\",\"values\":[{}]},{\"Name\":\"status\",\"values\":[{\"value\":\"New\"}]},{\"Name\":\"closing-date\",\"values\":[]}],\"Type\":\"defect\",\"children-count\":0}],\"TotalResults\":1}"&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;But i need to store the data like below,&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Expected Result:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;{&lt;BR /&gt;"_id" : ObjectId("596e69f9a2e6f23e28ba0d58"),&lt;/P&gt; 
&lt;P&gt;"summary" : "test",&lt;BR /&gt;"severity" : "2-Medium",&lt;BR /&gt;"&lt;SPAN&gt;priority&lt;/SPAN&gt;" : "&lt;SPAN&gt;2-Medium&lt;/SPAN&gt;",&lt;BR /&gt;"status" : "New",&lt;BR /&gt;"&lt;SPAN&gt;creation-time&lt;/SPAN&gt;" : ISODate("2018-01-08T00:00:00.000+0000"),&lt;BR /&gt;"&lt;SPAN&gt;closing-date&lt;/SPAN&gt;" : null,&lt;BR /&gt;"description" : "",&lt;BR /&gt;"&lt;SPAN&gt;owner&lt;/SPAN&gt;" : "prakash",&lt;BR /&gt;"id" : NumberInt(339)&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;How can i store the data like expected result?&lt;/P&gt; 
&lt;P&gt;Or Else&lt;/P&gt; 
&lt;P&gt;Is it possible to store the &lt;SPAN&gt;expected result in DB&amp;nbsp;&lt;/SPAN&gt;with help of&amp;nbsp;&lt;STRONG&gt;tExtractXMLFiled&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;OR&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;tExtractJsonFiled&lt;/STRONG&gt;?If yes,&amp;nbsp;How can i retrieve the data without specify the column names in XPath or JsonPath query?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:37:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:37:08Z</dc:date>
    <item>
      <title>How to pull the ALM defect data without specify the column names in XPath or JsonPath query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pull-the-ALM-defect-data-without-specify-the-column-names/m-p/2207629#M7185</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm using Talend OS for Big Data &lt;SPAN&gt;6.4.0 and MongoDB . Now, I was&amp;nbsp;&lt;/SPAN&gt;trying&amp;nbsp;to pull the ALM defect data (all the columns) and storing the data into DB. i want to get all the column details from defect without specifying the names in &lt;STRONG&gt;tExtractXMLFiled&lt;/STRONG&gt; OR &lt;STRONG&gt;tExtractJsonFiled&amp;nbsp;&lt;/STRONG&gt;XPath mapping. So that, i have directly stored the json response in DB.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Here My Job Detail:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;tRestClient&lt;/STRONG&gt; --&amp;gt; response --&amp;gt; &lt;STRONG&gt;tMongoDBOutput&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;In the above job, directly storing the REST API response in mongodb as a json format.&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Actual Output:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;{&lt;BR /&gt;"_id" : ObjectId("5ba38c8d52460b21c7f97e69"),&lt;BR /&gt;"string" : "{\"entities\":[{\"Fields\":[{\"Name\":\"detection-version\",\"values\":[{}]},{\"Name\":\"subject\",\"values\":[]},{\"Name\":\"description\",\"values\":[{\"value\":\"&amp;lt;html&amp;gt;&amp;lt;body&amp;gt; \\n&amp;lt;div align=\\\"left\\\" style=\\\"min-height:9pt\\\"&amp;gt;\\n&amp;lt;font face=\\\"Arial\\\"&amp;gt;&amp;lt;span dir=\\\"ltr\\\" style=\\\"font-size:8pt\\\"&amp;gt;When I'm trying to load the iDashboard application, some time it is showing blank page instead of login page.&amp;lt;/span&amp;gt;&amp;lt;/font&amp;gt;\\n&amp;lt;/div&amp;gt; \\n&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;\"}]},{\"Name\":\"target-rcyc\",\"values\":[{}]},{\"Name\":\"project\",\"values\":[{}]},{\"Name\":\"has-linkage\",\"values\":[{\"value\":\"N\"}]},{\"Name\":\"last-modified\",\"values\":[{\"value\":\"2018-09-06 07:33:06\"}]},{\"Name\":\"has-others-linkage\",\"values\":[{\"value\":\"N\"}]},{\"Name\":\"attachment\",\"values\":[{}]},{\"Name\":\"cycle-id\",\"values\":[]},{\"Name\":\"request-type\",\"values\":[{}]},{\"Name\":\"creation-time\",\"values\":[{\"value\":\"2018-09-06\"}]},{\"Name\":\"actual-fix-time\",\"values\":[]},{\"Name\":\"id\",\"values\":[{\"value\":\"1\"}]},{\"Name\":\"run-reference\",\"values\":[]},{\"Name\":\"request-note\",\"values\":[{}]},{\"Name\":\"request-server\",\"values\":[{}]},{\"Name\":\"severity\",\"values\":[{\"value\":\"1-Low\"}]},{\"Name\":\"to-mail\",\"values\":[{}]},{\"Name\":\"owner\",\"values\":[{\"value\":\"prakash\"}]},{\"Name\":\"detected-by\",\"values\":[{\"value\":\"pra\"}]},{\"Name\":\"step-reference\",\"values\":[]},{\"Name\":\"estimated-fix-time\",\"values\":[]},{\"Name\":\"reproducible\",\"values\":[{\"value\":\"Y\"}]},{\"Name\":\"ver-stamp\",\"values\":[{\"value\":\"1\"}]},{\"Name\":\"request-id\",\"values\":[]},{\"Name\":\"priority\",\"values\":[{\"value\":\"2-Medium\"}]},{\"Name\":\"cycle-reference\",\"values\":[{}]},{\"Name\":\"environment\",\"values\":[{}]},{\"Name\":\"target-rel\",\"values\":[{}]},{\"Name\":\"test-reference\",\"values\":[]},{\"Name\":\"planned-closing-ver\",\"values\":[{}]},{\"Name\":\"extended-reference\",\"values\":[{}]},{\"Name\":\"dev-comments\",\"values\":[{}]},{\"Name\":\"detected-in-rcyc\",\"values\":[{}]},{\"Name\":\"closing-version\",\"values\":[{}]},{\"Name\":\"name\",\"values\":[{\"value\":\"iDashboard application not loading properly in Production instance\"}]},{\"Name\":\"has-change\",\"values\":[{}]},{\"Name\":\"detected-in-rel\",\"values\":[{}]},{\"Name\":\"status\",\"values\":[{\"value\":\"New\"}]},{\"Name\":\"closing-date\",\"values\":[]}],\"Type\":\"defect\",\"children-count\":0}],\"TotalResults\":1}"&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;But i need to store the data like below,&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Expected Result:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;{&lt;BR /&gt;"_id" : ObjectId("596e69f9a2e6f23e28ba0d58"),&lt;/P&gt; 
&lt;P&gt;"summary" : "test",&lt;BR /&gt;"severity" : "2-Medium",&lt;BR /&gt;"&lt;SPAN&gt;priority&lt;/SPAN&gt;" : "&lt;SPAN&gt;2-Medium&lt;/SPAN&gt;",&lt;BR /&gt;"status" : "New",&lt;BR /&gt;"&lt;SPAN&gt;creation-time&lt;/SPAN&gt;" : ISODate("2018-01-08T00:00:00.000+0000"),&lt;BR /&gt;"&lt;SPAN&gt;closing-date&lt;/SPAN&gt;" : null,&lt;BR /&gt;"description" : "",&lt;BR /&gt;"&lt;SPAN&gt;owner&lt;/SPAN&gt;" : "prakash",&lt;BR /&gt;"id" : NumberInt(339)&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;How can i store the data like expected result?&lt;/P&gt; 
&lt;P&gt;Or Else&lt;/P&gt; 
&lt;P&gt;Is it possible to store the &lt;SPAN&gt;expected result in DB&amp;nbsp;&lt;/SPAN&gt;with help of&amp;nbsp;&lt;STRONG&gt;tExtractXMLFiled&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;OR&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;tExtractJsonFiled&lt;/STRONG&gt;?If yes,&amp;nbsp;How can i retrieve the data without specify the column names in XPath or JsonPath query?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:37:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pull-the-ALM-defect-data-without-specify-the-column-names/m-p/2207629#M7185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull the ALM defect data without specify the column names in XPath or JsonPath query?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-pull-the-ALM-defect-data-without-specify-the-column-names/m-p/2207630#M7186</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please try to extract file through tRESTClient component&amp;nbsp;and&amp;nbsp;use tExtractJSONFields component.&lt;/P&gt;
&lt;P&gt;Here is online component reference about:&lt;A title="https://help.talend.com/reader/WfrS1ZaBst3az8zJBGoMSQ/4ZTpN_SyZv~p8f1UpHWfNQ" href="https://help.talend.com/reader/WfrS1ZaBst3az8zJBGoMSQ/4ZTpN_SyZv~p8f1UpHWfNQ" target="_self" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/WfrS1ZaBst3az8zJBGoMSQ/4ZTpN_SyZv~p8f1UpHWfNQ&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 04:14:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-pull-the-ALM-defect-data-without-specify-the-column-names/m-p/2207630#M7186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-19T04:14:41Z</dc:date>
    </item>
  </channel>
</rss>

