-
Notifications
You must be signed in to change notification settings - Fork 157
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
Added CMDLET to delete workitem #209
Added CMDLET to delete workitem #209
Conversation
@DarqueWarrior I accidentally merged the other topic branch into this one in the beginning. So it shows the history of the not yet merged PR and also the comments above. I don't know if that will be a problem. |
Make sure you run .\Build-Module.ps1 -analyzeScript -ipmo And clear any messages. I am a big unclear why we need _applyTypesToWorkItemDeleted and can't use _applyTypesToWorkItem |
I will take care of these changes. |
Just for the explanation. I created _applyTypesToWorkItemDeleted because the return JSON object is not consistent with a normal work item object. Strange enough, even the property names are different. This is for several properties. So I thought a new method is needed because I also created a new format. Unless you tell me, that this can be done differently, then I am happy to know how it can be done simpler. |
Can you think of a scenario where you are going to save the returned deleted item? In all the rest of the remove calls we don't return the object. I think to stay consistent I will just not return anything here either. I am almost done with all the changes. There is nothing for you to do at this point. |
Changes merged into PR #217 |
PR Summary
I added a new cmdlet to delete work items by IDs. I
So the following things were added:
PR Checklist