How to set the order of rules execution?

I want to set a certain order of rules execution so that one rule is triggered before the others. Is this possible?

7
1 comment

Hello,

I'm Lena from YouTrack.

If two workflows can run simultaneously, we don't guarantee any specific sequence of execution, and we don't have an instrument for direct management. However, you can artificially ensure the required sequence using, for example, tags: the first workflow will add a tag to an issue, and the second one will trigger on tag adding, e.g.:

  guard: function(ctx) {
let issue = ctx.issue;
return issue.isChanged("tags") && issue.tags.size > issue.oldValue("tags").size && issue.tags.added && issue.tags.added.name === "MySuperTag";
},
1

Please sign in to leave a comment.