Forums

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

Spam : automation flagging for certain keywords

DBooher
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 21, 2025

Hi, we get a lot of spam and I'm not having successes with setting up an automation rule to [1 : assign work item to a user] and [2 : add internal note "suspected spam]. The problem is with the filtering stage I think. 

Is there an all code version of the automation function instead of using the flowcharts?

What I want to do: When work item created, If email address from domains A.com or B.com, OR If the text anywhere contains keywords BuySpamNow or SpamKeyWord, add an internal note and assign it to User. 

Thanks for any insights

temp.png

1 answer

1 vote
Karan Sachdev
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 21, 2025

Hey @DBooher

Welcome to Atlassian Community!

 

I believe only using {{issue.fields}} will not work as expected. You'll have to specify which field(s) should be compared.

For example, you can write {{issue.summary}} contains "Spam" to check if the sumary contains the word Spam.

If you want to validate this for multiple fields, you can use the If/Else block to add multiple conditions and specify the AND/OR logic.

2025-04-21_19-35-15.png

 

Thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events