<?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 Microsoft TFS2018 data via APIs in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Microsoft-TFS2018-data-via-APIs/m-p/2276038#M52242</link>
    <description>&lt;P&gt;Morning Talend Community!&amp;nbsp; I'm working on a new project wherein I'm trying to use Talend Big Data Platform v7.1 to call several Microsoft Team Foundation Server2018 APIs.&amp;nbsp; Ultimately, the JSON responses will be stored in Redshift tables for analytics down the road.&amp;nbsp; I've been successfully calling (GET) several of the APIs but can't figure out how to pull ALL of the 'work items' on a 'board' in TFS at once.&amp;nbsp; I can use the 'workitems' API, but you have to know which ID(s) you want to pull information about.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Has anyone designed a job yet that can pull all work items at once?&amp;nbsp; Or perhaps a job that can get a list of work item IDs that exist and then a sub-job that can loop through each of them one by one?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any insight is greatly appreciated!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;UPDATE:&amp;nbsp; I was able to use the Query API delivered with TFS and I think I'm on to something!&amp;nbsp; I navigated to a board in TFS and created a query under "My Queries".&amp;nbsp; I included no filters whatsoever...the result was every workitem on the board.&amp;nbsp; I then used the following Query API syntax successfully.&amp;nbsp; My thought is that if I modify the TFS query to return only the WorkItem ID column, I can then use that to loop through the "workitem revisions" API since it requires one ID at a time.&amp;nbsp; This would then return all of the information for each workitem ID.&amp;nbsp; More soon....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;https://{server}/tfs/{organization}/{project}/{team}/_apis/wit/wiql/{queryid}?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I was able to get the queryid value from the URL in TFS&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks&lt;/P&gt; 
&lt;P&gt;Brad&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:54:25 GMT</pubDate>
    <dc:creator>bradsheridan</dc:creator>
    <dc:date>2024-11-16T06:54:25Z</dc:date>
    <item>
      <title>Microsoft TFS2018 data via APIs</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Microsoft-TFS2018-data-via-APIs/m-p/2276038#M52242</link>
      <description>&lt;P&gt;Morning Talend Community!&amp;nbsp; I'm working on a new project wherein I'm trying to use Talend Big Data Platform v7.1 to call several Microsoft Team Foundation Server2018 APIs.&amp;nbsp; Ultimately, the JSON responses will be stored in Redshift tables for analytics down the road.&amp;nbsp; I've been successfully calling (GET) several of the APIs but can't figure out how to pull ALL of the 'work items' on a 'board' in TFS at once.&amp;nbsp; I can use the 'workitems' API, but you have to know which ID(s) you want to pull information about.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Has anyone designed a job yet that can pull all work items at once?&amp;nbsp; Or perhaps a job that can get a list of work item IDs that exist and then a sub-job that can loop through each of them one by one?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any insight is greatly appreciated!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;UPDATE:&amp;nbsp; I was able to use the Query API delivered with TFS and I think I'm on to something!&amp;nbsp; I navigated to a board in TFS and created a query under "My Queries".&amp;nbsp; I included no filters whatsoever...the result was every workitem on the board.&amp;nbsp; I then used the following Query API syntax successfully.&amp;nbsp; My thought is that if I modify the TFS query to return only the WorkItem ID column, I can then use that to loop through the "workitem revisions" API since it requires one ID at a time.&amp;nbsp; This would then return all of the information for each workitem ID.&amp;nbsp; More soon....&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;https://{server}/tfs/{organization}/{project}/{team}/_apis/wit/wiql/{queryid}?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I was able to get the queryid value from the URL in TFS&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks&lt;/P&gt; 
&lt;P&gt;Brad&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Microsoft-TFS2018-data-via-APIs/m-p/2276038#M52242</guid>
      <dc:creator>bradsheridan</dc:creator>
      <dc:date>2024-11-16T06:54:25Z</dc:date>
    </item>
  </channel>
</rss>

