microsoft/azure-pipelines-vscode

CreateWorkItem@1 | Task not recognized.

endersonmenezes opened this issue · 3 comments

Task Documentation: https://marketplace.visualstudio.com/items?itemName=mspremier.CreateWorkItem

Problem on VSCode:

image

Use case eg:

    - task: CreateWorkItem@1
      displayName: Azure Boards Create Bug Card
      inputs:
        teamProject: #
        areaPath: #
        iterationPath: #
        workItemType: bug
        title: #
        fieldMappings: |
          # 

I just open this Issue to help on documentation, i will try make a PR for this correction, its ok to core developers?

Hi @endersonmenezes, it looks like CreateWorkItem@1 is a custom task that you need to install from the Marketplace.
By default, Azure Pipelines only supports tasks that are built-in to Azure DevOps, but you can get validation for custom tasks to show up by following the instructions here:
https://github.com/microsoft/azure-pipelines-vscode#schema-auto-detection

Let me know if you have any further questions!

@50Wliu Do you believe that this would have to be valid even if it is a task supported by Microsoft's own team?

EDIT1: I have my custom set up, but I believe that because it's from microsoft it should be here.

EDIT2: I googled some more and found the list of built-ins tasks. Thanks a lot for the quick response. Even so, I'm not sure if the 3 "custom" tasks that are supported by Microsoft themselves shouldn't be here.

Link of BuiltIn tasks: https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks

Yes, no matter who it's published by, if it's not installed by default on a fresh Azure DevOps organization, we won't include it in the schema.