Quantcast
Channel: YouTrackYouTrack (JT) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 74845

JT-19324: Method becomesReported() isn't trigged on issue creation in the other workflow

$
0
0
Reporter Dmitry Krasilschikov (dima) Dmitry Krasilschikov (dima)
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 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.

Viewing all articles
Browse latest Browse all 74845

Trending Articles