I'm looking for a possibility to create a task and attach it to a backlog-item from the release pipeline in Microsofts TFS/VSTS. So far I couldn't find anything that would make this possible. Has anyone an idea how to accomplish this?

  • 1
    To be clear, you want to create a Work item task, and parent it in the backlog automatically from the release pipeline. When would this be triggered and to what parent? When would these parameters be set? I know you can automatically create a bug on failed builds – xtreampb Sep 6 '18 at 13:41
  • @xtreampb yes, that pretty much sums it up. The parent workitem would always be the same, but I would not care if I had to create one automatically as well. When it gets triggered doesn't matter that much as long as it can be done somewhere in the build pipeline. I guess if it possible, it would work anywhere in the pipeline – Gistiv Sep 6 '18 at 13:51
  • the easy part is to create the workitems (there are APIs and SDKs for this) but how you hand the parent work item to the pipeline? Pipelines cannot have parameters so you need an external service to query or a pseudo-artifact file listing the Id. – Giulio Vian Sep 16 '18 at 21:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.