Class MultiValueExtractor
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.common.MultiValueExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractValues(String value) Some field values can be rendered as lists like val1,val2,val3.
-
Constructor Details
-
MultiValueExtractor
public MultiValueExtractor()
-
-
Method Details
-
extractValues
Some field values can be rendered as lists like val1,val2,val3. A concrete example is if you're trying to link issues and use {{comment.body.match("([A-Z]+-\d+)")}} as the value. This will render as the string "KEY-1, KEY-2". This method will return a list of "KEY-1", "KEY-2".- Parameters:
value- the string value.- Returns:
- A value list.
-