Reporter |
![]() |
---|---|
Created | Apr 9, 2013 2:26:22 PM |
Updated | Apr 9, 2013 2:26:22 PM |
Priority | Normal |
Type | Bug |
State | Open |
Assignee | Vadim Gurov (vgurov) |
Subsystem | Workflow |
Fix versions | No Fix versions |
Fixed in builds | No Fixed in build |
Affected versions | No Affected versions |
Browser | Any Browser |
OS | Any OS |
Verified in build | Not verified |
Verified by | Nobody |
Reviewed by | No reviewed by |
Severity | Routine |
Consider the rules:
Rule 1
Rule 2
Expected that the 2nd rule is invoked on an creation issue with the priority "Normal", but it isn't triggered and commented isn't added.
Rule 1
rule Normal when becomesReported() && Priority == {Normal} { var newIssue = loggedInUser.createNewIssue(project.shortName); newIssue.Priority = {Critical}; newIssue.summary = "test1"; }
Rule 2
rule becomes reported when becomesReported() && Priority == {Critical} { addComment("test2"); }
Expected that the 2nd rule is invoked on an creation issue with the priority "Normal", but it isn't triggered and commented isn't added.