Hi,
I am working on an email integration that generates Alerts from incoming emails.
Please see the attached image.
What smart value or string expression should I use for the 'Server' extra property, so that it extracts the server name from the email body?
For example, if the email body contains the text:
Server: backupserver1
I want the 'Server' property Value to be set to backupserver1."
Hi @Ari Raatikainen ,
Can you try if this works ?
{{message.substringAfter("Server: ")}}
For more text related actions, have a look at this documentation : https://confluence.atlassian.com/automation/jira-smart-values-text-fields-993924863.html
Hope this helps,
Best regards,
Kris
Thanx for the tip.. this worked as in the actual case I have more rows
{{message.substringBetween("Server:", "\n")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ari,
what about substring like:
... substringAfter("Server: ") ...
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.