Skip to content

Fix for createWorkItem #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 17, 2016
Merged

Fix for createWorkItem #27

merged 2 commits into from
Feb 17, 2016

Conversation

lszomoru
Copy link
Member

  • Added project parameter to the createWorkItem method
  • Added project, and type to routeValues

@lszomoru
Copy link
Member Author

Fix for Issue #26

@@ -1146,7 +1149,7 @@ export class WorkItemTrackingApi extends basem.ClientApiBase implements IWorkIte
customHeaders = customHeaders || {};
customHeaders["Content-Type"] = "application/json-patch+json";

this.vsoClient.getVersioningData("2.2-preview.2", "wit", "72c7ddf8-2cdc-4f60-90cd-ab71c14a399b", routeValues, queryValues)
this.vsoClient.getVersioningData("2.2-preview.2", "wit", "62d3d110-0047-428c-ad3c-4fe872c91c74", routeValues, queryValues)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did this guid come from? Did WIT deprecate the old route and replace it with this one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about the deprecation but I have taken the route from the C# controller.

bryanmacfarlane added a commit that referenced this pull request Feb 17, 2016
@bryanmacfarlane bryanmacfarlane merged commit 74c3c8e into microsoft:master Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants