Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Create Auto Labeling rule

jared
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!
August 18, 2022

Hi, 

Is there a way to search for specific keywords inside a ticket and automatically assign it a label or tag?  

e.g. we have an automated access request system that pipes its data into JSM and has the same few keywords when it completes a ticket. We want a rule to search for those key words and assign it a label so we can create better reporting. 

1 answer

1 vote
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 19, 2022

Hello @jared

Thank you for reaching out.

You can use an automation rule to properly check the resolved issue against a JQL query, properly checking if the issue matches specific keywords on any text fields and adding the relevant labels. These would be the steps:

  1. Navigate to your project > Project settings > Automation
  2. Create the following automation rule, replacing the keyword1 and keyword2 with the relevant keywords you need:
    Screen Shot 2022-08-19 at 6.45.29 PM.png

You can check the documentation below for more details about the JQL operator used in the Automation:

JQL CONTAINS ~ Operator 

Let us know if you have any questions.

bmccoy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 22, 2022

Hi!

Another option would be to use the issue field condition if the keyword search is simple e.g. 

Automation - Code Barrel JIRA 2022-08-23 09-17-30.png

Or if you need something a bit more complex, you can use our regex option in the advanced conditionAutomation - Code Barrel JIRA 2022-08-23 09-18-12.png

Both of these can run a bit faster than the JQL condition.

Cheers,
Brydie

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events