Creating work item with validateOnly=True causes exception
Open
Error
good first issue
help wanted
- Dominant language
- Python
- Stars
- 114
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
`validateOnly=true` is used to test work item creation without actually creating one.
Therefore, response contains fields of not-created-workitem.
Logically, it does not contain `System.ID`.
That breaks `WorkItem.__init__()` method that tries to `self.id = self.data["id"]` while data has no `"id"`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.