-
Notifications
You must be signed in to change notification settings - Fork 32
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
Save failed: {"count":1,"value":{"Message":"Value cannot be null #115
Comments
I also get the same error on all of my rules. |
I will do some tests over the weekend. |
No there is no mandatory field.
|
This is happening even in the rules where I try setting up only the State of the some items. |
When I dryrun it locally or connected to DevOps, there are no errors. |
In my tests, I was able to found only one issue (#116). I suggest to drop the existing mappings and recreate the instance from scratch. |
I already removed the whole Azure set of object multiple times from Azure directly. Unfortunately, running any rules always gives me the same kind of errors, no matter what rule gets triggered, either when it requires modifying any fields in Azure DevOps, or if requires creating a new Work Item. There is definitely something wrong either: |
Have you tried removing any |
I apologize. I'm still a beginner with this aggregator app. Where should I look for that file? In Azure? |
It is cached locally and the wrong version may take precedence |
I found that and removed it. While installing a new instance, I get a message (among other messages): |
It is ok when appears the first time you create the instance |
I created new instance from scratch. In fact created new RG as well. Same
issue
|
in this line:
|
at least in this rule CreateNewPBIForFeature.rule
when saving a work item you do not need to add a value for description, therefore the field can be empty/null. |
Looking through the documentation, I couldn't find how to set a custom field. |
Cool. That showed me how to do it. Thx |
.language=C#
if (self.WorkItemType == "Test Case")
{
self["Custom.TestMethodId"] = self.Id;
}
return "Nothing to do"; I changed like this as you said above. but in text method ID field I am getting System.Collections.Generic.Dictionary`2[System.String,System.Object] instead of systemd ID getting copied. |
i see can you try with |
Worked!!!!I feel 10 years younger now. |
I provided a fix for the ugly syntax, so that in future you can simply use So is there anything open from your initial issue? |
Nope. We can close it
|
Maybe just one remark which came into my mind. You cannot use |
@mmuresan please open a new issue if there is anything open |
Hello I downloaded latest release, Did all steps correctly. No errors now either in service hook or in Azure portal logs.(200 result code)
When i run the simple below rule which is used to work in earlier release is not working now. It is giving below error when i deep dive into logs.
Save failed: {"count":1,"value":{"Message":"Value cannot be null."}}
Rule
.language=Csharp
if (self.WorkItemType == "Test Case")
{
self["Test Method id"] = self["System.Id"];
}
return "Nothing to do";
The text was updated successfully, but these errors were encountered: