I'm trying to require the new Parent field on the Create screen only for bugs and stories. I'm using JMWE on the Create transition. My JQL condition is:
(!!issue.issueType && issue.issueType.name == "Bug") || (!!issue.issueType && issue.issueType.name == "Story")
Whether you put a value in the Parent field or not you get the validation message that Parent is required. I thought I had this working like this last week and now it doesn't work. I've looked through the logs and no errors or anything is being reported.
The Story issue type shares a screen with other issue types so I can't just make the Parent field required in the field config.
Is there a problem with this new Parent field not working with JMWE? Am I just missing something and I don't have the condition right?