You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
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:
{{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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.