0
votes

I am working on VSTS/TFS extension development work.I am trying to determine the name of current process template (whether Agile, CMMI, Scrum) via TypeScript code.

My requirement is updating workitem (bug, issue .etc.) status according to certain conditions. For same I need to identify prevalent process template name of the project. Reason is same workitem type in different templates have different status.

I am referring vsts-node-API to achieve this task. But I still couldn't figure out the way to fulfill this. references:

1
The second link you provided is for work item templates. That has nothing to do with process templates. - Flex

1 Answers

1
votes

The response of rest api Get a team project can return "processTemplate" parameter:

GET https://{instance}/DefaultCollection/_apis/projects/{project}?api-version={version}[&includeCapabilities={boolean}&includeHistory={boolean}]