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,559,630
Community Members
 
Community Events
185
Community Groups

Remove text after a key word in description

Using automation, is it possible to remove all text after a specific word in the description field? For example I have this in my description: Text Text Text Text [stop] more more more more

I want the tag [stop] and everything after removed so all i have left is Text Text Text Text

1 answer

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 10, 2023

@Alvin -

Using automation rule, you should be able to achieve what you wanted.  You can implement regex pattern check against the Description field - Please reference the following links -

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/

https://community.atlassian.com/t5/Jira-questions/Regular-expressions-in-automation-and-smart-values/qaq-p/1920887

After you obtain your needed value, then you can use edit issue action to update the Description field.

Lastly, you can also use the following to test out the rule in the "Debug" mode via the following reference of writing the content into the audit log to ensure your regex works as you wanted - https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events