I try to consolidate automation rules as much as possible so as to not have a million rules out there.
To that end I need a rule to not take any action if a set of conditions exist (like the field is already filled out).
Every time the rule takes an action the reporter gets notified so it gets annoying.
Right now the automation plugin won't allow me to do this when I had some IF conditions and then don't add any action. There is no action to "do nothing".
I'm using the following expression:
issue.field equals issue.field.value
Any help would be appreciated.
thanks!
Alan
Hi Alan,
I can definitely see where you are coming from here.
The best thing to do is to use an IF/ELSE condition.
You could then use an action such as 'log action'. This will simply log an action on the audit log without causing any effects or notifications outside of Automation for Jira.
The screenshot below gives an example using your issue field.
*Note the 'Else' compare condition also. This is the best way to identify when {{issue.field}} contains some value.
Let me know how you go and if you have any further questions!
Cheers,
John
@John McKiernan1 Long time coming, but this was the right answer. Thanks from the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there there is no option in the Jira automation settings to say "if [a global rule would run] instead do nothing"; the closest thing you can do is make a rule that says "if the [global rule would run], undermine it somehow"
in my case a global rule updates a parent issue status to released when all children are released, which is not desirable for one of my projects. i had to create a rule with identical conditions at the project level that instead transitions the parent to "same status" when its children are all in released status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.