Messing with Behaviors....
What I am trying to do is to determine is a currently opened screen is an Edit screen.
As I see it, I have to get a current screen scheme and screen id assigned as an Edit screen in it.
Then I have to get a currently opened screen id and compare them.
Googled it a lot ad tried dozens of code examples, but keep bumping on basically the same kind of dead ends. Either I cant get current issue id (what is needed in one kind of code), or I get something like this:
groovy.lang.MissingPropertyException: No such property: IssueOperations for class:
The Goal is to determine is opened screen is an Edit screen. Maybe the is an other way to do that.