Schedule workflow caching problem

Hi,

I have what looks to be a caching problem which I'd appreciate if someone can provide some advice on how to resolve.  I have one workflow and in that workflow have rules like:

schedule rule Backup Machine-01

weekly on Sunday at 00:00:00 [issue == {SYS-37}] {
var newIssue = project.leader.createNewIssue(project.shortName);
newIssue.summary = summary;
newIssue.description = description;
}

schedule rule Backup Machine-02 

weekly on Sunday at 00:00:00 [issue == {SYS-40}] {
var newIssue = project.leader.createNewIssue(project.shortName);
newIssue.summary = summary;
newIssue.description = description;
}

The problem is that when the above two rules run for Machine-02 the "issue" is using template SYS-37 instead of SYS-40, as you can see in the rule I've stated it to be SYS-40 so why is it still using SYS-37 ?

8 comments
Avatar
Permanently deleted user
Comment actions Permalink
Official comment

This behaviour looks like a consequence of https://youtrack.jetbrains.com/issue/JT-41590 (which was recently fixed and is not delivered yet). The most simple workaround would be to restart the server (or, if you have an InCloud YouTrack instance, it is most likely restarted since June, 18).

Comment actions Permalink

Restart doesn't really work, as it will start doing the caching again after the first rule runs.

-1
Comment actions Permalink

Coder001, I'm sorry for the delay. Could you please tell, which build number are you using?

Thanks.

-1
Comment actions Permalink

The following:

JetBrains Bug & Issue Tracker YouTrack 2017.2
Build 33154 Tue, 16 May 2017 13:55:53 GMT

-1
Comment actions Permalink

Please upgrade to the latest build, the issue is not fixed in your build yet, unfortunately.

Let us know the results. Thanks!

0
Comment actions Permalink

Liubov, is there a way to apply a fix to the current build I have or I must upgrade ?

-1
Comment actions Permalink

No, unfortunately, it's not possible to apply the fix with your current build, so please upgrade if your license allows it.

Thanks.

0
Comment actions Permalink

Liubov,

I upgraded to the latest build (see below) but the issue is still not resolved, very disappointed.

JetBrains Bug & Issue Tracker YouTrack 2017.2
Build 34480 Fri, 07 Jul 2017 13:24:07 GMT

0

Please sign in to leave a comment.