I'd like to modify an existing JMWE post-function that creates a new issue, specifically the condition that would make it true.
Within the condition, I want to execute the post-function only if the summary contains the word "Patch," as opposed to summary equals "Patch" since there may be differing values in the summary, but it will always begin the the word "Patch."
!issue.subTaskObjects.find{it -> it.get("summary") == "Patch" && it.get("status")?.name != "Done"}
Would there be a "like" or "contains" operator I could use? Thanks in advance for any guidance you can offer.