Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation ( AND/OR)

Raunak
Contributor
February 15, 2019

Hi Everyone,
I am trying to setup a basic automation rule on Jira's built in automation. It goes as follows:

When this happens: Issue Created

If these match: 

Reporter: Helpdesk

Summary: Alarm - Password Reset

Summary: Alarm - Reboot PC 

Then Do This

Alert Bob Smith 

The issue I am having is that Bob is getting alerted for all tickets created by Reporter: Helpdesk whether or not if they meet the Summary syntax criteria. 

 

How do I implement AND statements in Jira Automation? Any suggestions would be appreciated. 

 

 

1 answer

0 votes
Ben Poulson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 15, 2019

In the automation menu, in the IF section, clear out whatever you already have for this rule. Then click Advanced, and paste in the following JQL:

 

reporter = "Helpdesk" AND summary ~ "Alarm+-+Password+Reset" AND summary ~ "Alarm+-+Reboot+PC"

 

You have to use a + instead of a space, otherwise jira will check whether the summary contains any of the words, rather than the whole phrase. Let me know if that didn't work.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events