Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Callback with workitem Id from new workitem window #150

Open
syedharishassan opened this issue Jul 29, 2021 · 0 comments
Open

Callback with workitem Id from new workitem window #150

syedharishassan opened this issue Jul 29, 2021 · 0 comments

Comments

@syedharishassan
Copy link

Hi,

We are using new work item window to create work item. How can we get the callback with the newly created work item id after saving and closing the window?

_WorkItemServices.WorkItemFormNavigationService.getService().then(function (workItemNavSvc) {
workItemNavSvc.openNewWorkItem(workItemType, {
"Title": "Test",
"Tags": "extension;wit-service",
"System.AssignedTo": VSS.getWebContext().user.name,
"priority": 1
});
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant