Skip to content
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

Methods returning null provide no error information #617

Open
sedano-j opened this issue Nov 18, 2024 · 0 comments
Open

Methods returning null provide no error information #617

sedano-j opened this issue Nov 18, 2024 · 0 comments

Comments

@sedano-j
Copy link

Issue description:
As already mentioned in #616 , many methods can return null, one example which has happened lately is that
createWorkItem (from WorkItemTrackingApi) returns null and provides no information why it failed to create a new work item.

The corresponding documentation page also only mentions the successful 200 response and nothing regarding a possible error.

Package version:
14.1.0 (altough it happened in previous versions as well, before upgrading)

Steps to reproduce:

  • create fresh Azure DevOps project (uses the 'Basic' process)
  • call workItemTrackingApi.createWorkItem(...)

The createWorkItem(...) call sets the following fields:

  • '/fields/System.Description'
  • '/fields/System.Title'
  • '/fields/Microsoft.VSTS.Common.Priority'
  • '/fields/Microsoft.VSTS.Scheduling.OriginalEstimate'

Also tried with just title and description, same outcome.

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

No branches or pull requests

2 participants