{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/vsts-docs/issues/2321","repository_url":"https://api.github.com/repos/MicrosoftDocs/vsts-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/vsts-docs/issues/2321/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/vsts-docs/issues/2321/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/vsts-docs/issues/2321/events","html_url":"https://github.com/MicrosoftDocs/vsts-docs/issues/2321","id":376475303,"node_id":"MDU6SXNzdWUzNzY0NzUzMDM=","number":2321,"title":"How to add custom extension tasks?","user":{"login":"joseph-cloudthing","id":35726453,"node_id":"MDQ6VXNlcjM1NzI2NDUz","avatar_url":"https://avatars2.githubusercontent.com/u/35726453?v=4","gravatar_id":"","url":"https://api.github.com/users/joseph-cloudthing","html_url":"https://github.com/joseph-cloudthing","followers_url":"https://api.github.com/users/joseph-cloudthing/followers","following_url":"https://api.github.com/users/joseph-cloudthing/following{/other_user}","gists_url":"https://api.github.com/users/joseph-cloudthing/gists{/gist_id}","starred_url":"https://api.github.com/users/joseph-cloudthing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joseph-cloudthing/subscriptions","organizations_url":"https://api.github.com/users/joseph-cloudthing/orgs","repos_url":"https://api.github.com/users/joseph-cloudthing/repos","events_url":"https://api.github.com/users/joseph-cloudthing/events{/privacy}","received_events_url":"https://api.github.com/users/joseph-cloudthing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"vtbassmatt","id":714283,"node_id":"MDQ6VXNlcjcxNDI4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/714283?v=4","gravatar_id":"","url":"https://api.github.com/users/vtbassmatt","html_url":"https://github.com/vtbassmatt","followers_url":"https://api.github.com/users/vtbassmatt/followers","following_url":"https://api.github.com/users/vtbassmatt/following{/other_user}","gists_url":"https://api.github.com/users/vtbassmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/vtbassmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtbassmatt/subscriptions","organizations_url":"https://api.github.com/users/vtbassmatt/orgs","repos_url":"https://api.github.com/users/vtbassmatt/repos","events_url":"https://api.github.com/users/vtbassmatt/events{/privacy}","received_events_url":"https://api.github.com/users/vtbassmatt/received_events","type":"User","site_admin":false},"assignees":[{"login":"vtbassmatt","id":714283,"node_id":"MDQ6VXNlcjcxNDI4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/714283?v=4","gravatar_id":"","url":"https://api.github.com/users/vtbassmatt","html_url":"https://github.com/vtbassmatt","followers_url":"https://api.github.com/users/vtbassmatt/followers","following_url":"https://api.github.com/users/vtbassmatt/following{/other_user}","gists_url":"https://api.github.com/users/vtbassmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/vtbassmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtbassmatt/subscriptions","organizations_url":"https://api.github.com/users/vtbassmatt/orgs","repos_url":"https://api.github.com/users/vtbassmatt/repos","events_url":"https://api.github.com/users/vtbassmatt/events{/privacy}","received_events_url":"https://api.github.com/users/vtbassmatt/received_events","type":"User","site_admin":false},{"login":"elbatk","id":19390261,"node_id":"MDQ6VXNlcjE5MzkwMjYx","avatar_url":"https://avatars2.githubusercontent.com/u/19390261?v=4","gravatar_id":"","url":"https://api.github.com/users/elbatk","html_url":"https://github.com/elbatk","followers_url":"https://api.github.com/users/elbatk/followers","following_url":"https://api.github.com/users/elbatk/following{/other_user}","gists_url":"https://api.github.com/users/elbatk/gists{/gist_id}","starred_url":"https://api.github.com/users/elbatk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbatk/subscriptions","organizations_url":"https://api.github.com/users/elbatk/orgs","repos_url":"https://api.github.com/users/elbatk/repos","events_url":"https://api.github.com/users/elbatk/events{/privacy}","received_events_url":"https://api.github.com/users/elbatk/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-11-01T16:47:31Z","updated_at":"2018-11-02T19:36:46Z","closed_at":null,"author_association":"NONE","body":"For example the Cordova extension from the marketplace by Microsoft.\n\nExporting an existing visual template gives:\n```\n- task:\n    id: 61ec6339-4a6a-4a69-875e-5a6f4db157a2\n    versionSpec: 1.*\n    definitionType: task\n  displayName: 'Cordova: Prepare'\n  inputs:\n    cordovaCommand: prepare $(app_platform)\n    cwd: \"some-directory\"\n```\nbut when using that in yaml I receive:\n```\nazure-pipelines.yml (Line: 6, Col: 5): Expected a scalar value\n```\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: 8098f527-ebdf-60d5-3989-5228b7a207c1\n* Version Independent ID: ce27c817-9599-00ef-5af2-3ac1dbad8dc6\n* Content: [Build and Release Tasks in Azure Pipelines and TFS - Azure Pipelines & TFS](https://docs.microsoft.com/en-us/azure/devops/pipelines/process/tasks?view=vsts&tabs=yaml)\n* Content Source: [docs/pipelines/process/tasks.md](https://github.com/MicrosoftDocs/vsts-docs/blob/master/docs/pipelines/process/tasks.md)\n* Product: **devops**\n* GitHub Login: @andyjlewis\n* Microsoft Alias: **alewis**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/vsts-docs/issues/comments/435486371","html_url":"https://github.com/MicrosoftDocs/vsts-docs/issues/2321#issuecomment-435486371","issue_url":"https://api.github.com/repos/MicrosoftDocs/vsts-docs/issues/2321","id":435486371,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTQ4NjM3MQ==","user":{"login":"vtbassmatt","id":714283,"node_id":"MDQ6VXNlcjcxNDI4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/714283?v=4","gravatar_id":"","url":"https://api.github.com/users/vtbassmatt","html_url":"https://github.com/vtbassmatt","followers_url":"https://api.github.com/users/vtbassmatt/followers","following_url":"https://api.github.com/users/vtbassmatt/following{/other_user}","gists_url":"https://api.github.com/users/vtbassmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/vtbassmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtbassmatt/subscriptions","organizations_url":"https://api.github.com/users/vtbassmatt/orgs","repos_url":"https://api.github.com/users/vtbassmatt/repos","events_url":"https://api.github.com/users/vtbassmatt/events{/privacy}","received_events_url":"https://api.github.com/users/vtbassmatt/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T19:36:46Z","updated_at":"2018-11-02T19:36:46Z","author_association":"COLLABORATOR","body":"Actually, if you're not worried about colliding with in-box tasks, I think you can just use the task name."}}
{"actor":{"display_login":"vtbassmatt"}}