A simple script to obtain a list of the names of the statuses of your Jira
import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.config.StatusManager StatusManager statusManager = ComponentAccessor.getComponentOfType(StatusManager.class) return statusManager.getStatuses()*.getName()
By MrAddon
Example to search for statuses that contains some text
LikeLike