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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,109
Community Members
 
Community Events
184
Community Groups

Create Auto Labeling rule

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

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 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.
Aug 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