devopshq / devopshq/tfs

Creating work item with validateOnly=True causes exception

Open
#36 2 comments 0 reactions 1 assignee Claimed by @SAnCherepan View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.