On this page
Use case
Some fields return a text with several elements in the form of a list. In this use case we will convert this text into a text list and compare it with as many elements as needed.
Configuration
Add the Logical validator to the desired workflow transition.
Expression
Add an expression following the next format:
toStringList(%{issue.components}) ~ ["Component 01", "Component 02"]
You can replace both the field code of the Components fields and the options between quotation marks and brackets with any custom field that returns a text and any text respectively.
Error message
Optionally, enter an error message as the following one.
Only issues with Component 01 and Component 02 can be transitioned.
Related use cases
If you still have questions, feel free to refer to our support team.