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,641,071
Community Members
 
Community Events
196
Community Groups

replace insensitive text in summary for automation

Hi,

 

I'm trying to use a replacement function in my automation, but I could not find the correct syntax.

{{issue.summary.replace("Upgrade","VAL - MDM deployment")}}

The goal is to replace the word Upgrade/UPGRADE to VAL - MDM deployment.

Does anybody knows how to modify the syntax to be case insensitive.

At the moment, if the original text is upper case UPGRADE, it doesn't work like expected. 

Many thanks in advance for your help,

Best Regards,

Henri.

1 answer

1 accepted

1 vote
Answer accepted
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 05, 2022

Hi @Henri Kowalski -- welcome to the community,

One solution that comes to my mind would be to first convert the string to UpperCase and also using only upper case letters in your string target within the replace function.

I tested with the following automation rule and it worked:

image.png

{{issue.summary.toUpperCase().replace("TEST", "Deploy Test Environment")}}

 

Hope I understood your requirement and this is helpful. Please let me know if you have any further questions.

Best
Stefan

Hi Stefan,

This is exactly what I was looking for! 

It's working perfectly.

 

Thanks a lot! 

Br,

Henri.

Like Stefan Salzl likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 06, 2022

Hi @Henri Kowalski 

AWESOME! Great to know you got that working 🎉💪

Best
Stefan

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events