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,558,898
Community Members
 
Community Events
184
Community Groups

String Processing: Can I use "substringBetween" together WITH "toUpperCase"

Hi there, I am hoping to do something like this:

{{ from_address.substringBetween(".","@") }}

But then take that output and capitalize it using toUpperCase().

I tried a few different ways but it doesn't appear to be possible.  Looks like you can only do one operation on an "Alert Field".

Does anyone have any suggestions, other than capitalizing the text before it reaches OpsGenie?

1 answer

1 accepted

2 votes
Answer accepted
Samir
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 03, 2021

Hi @Connor McBrine-Ellis !

 

I just tested the following and it worked

{{from_address.toUpperCase().substringBetween("@",".")}}

 

You should be able to combine the toUpperCase() method, with the substringBetween method.

 

If you're having issues with this, please reach out to support and we can assist you!

 

Thanks,

Samir

Awesome!  Thanks a bunch, I didn't try it that way!

Like blake_washer likes this

Suggest an answer

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

Atlassian Community Events