title: Which is the best way to get taskboard items & columns?
body: <p>I'm trying to get taskboard items from the azure devops by using its API (<a href="https://docs.microsoft.com/en-us/rest/api/azure/devops/work/taskboard%20work%20items/list?view=azure-devops-rest-6.1" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/azure/devops/work/taskboard%20work%20items/list?view=azure-devops-rest-6.1</a>). Well, this thing works fine until I don't send the request to the newly created project/taskboard. The new one is marked as not customized and has some default bunch of column.</p>
  <blockquote>
  <p>GET
  <a href="https://dev.azure.com/%7Borganization%7D/%7Bproject%7D/%7Bteam%7D/_apis/work/taskboardworkitems/%7BiterationId%7D?api-version=6.1-preview.1" rel="nofollow noreferrer">https://dev.azure.com/{organization}/{project}/{team}/_apis/work/taskboardworkitems/{iterationId}?api-version=6.1-preview.1</a></p>
  </blockquote>
  <p>So in case of default columns the above endpoint returns me this:</p>
  <pre><code>{
      &quot;$id&quot;: &quot;1&quot;,
      &quot;innerException&quot;: null,
      &quot;message&quot;: &quot;Taskboard columns are not added. Customize the taskboard columns before accessing it.&quot;,
      &quot;typeName&quot;: &quot;Microsoft.TeamFoundation.Agile.Server.TaskBoard.TaskboardColumnNotCustomizedException, Microsoft.TeamFoundation.Agile.Server&quot;,
      &quot;typeKey&quot;: &quot;TaskboardColumnNotCustomizedException&quot;,
      &quot;errorCode&quot;: 0,
      &quot;eventId&quot;: 0
  }
  </code></pre>
  <p>However in the web app it works well even with not custmized columns. So is there any known workaround or something like that to handle this issue, or it's an API bug?</p>
  <p>And I get similar issue with taskboard columns API.</p>
  <blockquote>
  <p>GET
  <a href="https://dev.azure.com/%7Borganization%7D/%7Bproject%7D/%7Bteam%7D/_apis/work/taskboardcolumns?api-version=6.0-preview.1" rel="nofollow noreferrer">https://dev.azure.com/{organization}/{project}/{team}/_apis/work/taskboardcolumns?api-version=6.0-preview.1</a></p>
  </blockquote>
  <p>This endpoint returns just an empty array of columns, although the web app shows the default list of columns depending on the process type of the project.</p>
  <pre><code>{
      &quot;columns&quot;: [],
      &quot;isCustomized&quot;: false,
      &quot;isValid&quot;: true
  }
  </code></pre>