tfsaggregator / aggregator-cli

A new version of Aggregator aiming at Azure DevOps (ex Visual Studio Team Services)
https://tfsaggregator.github.io/
Apache License 2.0
74 stars 32 forks source link

Query on selfChanges.keyContains #80

Closed johnradford closed 4 years ago

johnradford commented 5 years ago

Trying to code to check whether a state has been updated and therefore create default tasks when an enhancement moves to commited.

I have the following code in the rule.

if (selfChanges.Fields.ContainsKey("System.State"))
    {
    return "Status Updated";
    }

when trying to upload I get an error Errors in the rule file rules\ServiceDeskRefWIP.rule: (123,9): error CS0103: The name 'selfChanges' does not exist in the current context

giuliov commented 5 years ago

selfChanges is merged to master but you have to build and deploy the updated runtime in the install.instance command using the sourceUrl option

johnradford commented 4 years ago

Are there any plans for a new release. being new to c# is the source url as simple as where the solution is held c:..\source\aggregator-cli. if not what is required to build and package the solution please

giuliov commented 4 years ago

I have plans, but been busy lately. Hope I can hand out a Christmas gift. In case you want to go on your own, there are some notes on building and deploying in the doc folder.

johnradford commented 4 years ago

I've tried but my area is more databases and sql so I think I'll wait for the release, Thank you, that will be a useful Christmas present

giuliov commented 4 years ago

Please check v0.9.8.

johnradford commented 4 years ago

Giulio

Thank you for the release. I’ve been trying to download the windows zip but it’s failing. However I’m unable to open the zip 7zip states that the format is corrupted

giuliov commented 4 years ago

Just tested on my Win machine and works fine. Do you have more details?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.