How to extract values with regex

Chethan GR
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 5, 2021

I want to extract the data from ticket description and store it in a text field using automation for Jira in cloud. Let's say my ticket description (Created via email) has Server IP and client name in the following format,

Server: 11.22.33.44

Client: ABC

1 answer

0 votes
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2021

@Chethan GR have you checked this :- https://community.atlassian.com/t5/Jira-Software-questions/Jira-automation-Trying-to-extract-part-of-description-field-to-a/qaq-p/1495369

 

For IP address Regex code :- 

"(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"

Suggest an answer

Log in or Sign up to answer