I am using Automation for Jira to set the value of a field based on extracting a value from the Description. In my case the Description will contain multiple lines with the relevant ones as in the following example...
Detailed Order
Supplier This Supplier
Supplier That Supplier
Ship to Some Address
Supplier Order
The value I want is "This Supplier" and I am using the following expression to attempt to extract it.
{{issue.description.split("\n").match("Supplier (.*)").first}}
Unfortunately I always get "That Supplier".
Any ideas on the correct way to do this?