Is there a way to have a workflow condition that checks if a string contains a certain value within the field? For example if we are looking for contains "good", the string "this is a good build" should return true.
Not out of the box, to my knowledge. You would need something like ScriptRunner or JMWE to include a scripted workflow condition or something similar.
Hello,
You could use the Power Scripts add-on:
https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview
You could add a condition like this:
if (contains(#{custom field name},<span> </span>"good")) { return true;}return false;
contains(
#{custom field name}
,<span> </span>
"good"
)
You can read more about conditions here:
https://confluence.cprime.io/display/JJUPIN/Customizing+workflows
It looks like you're new here. Sign in or register to get started.