Scriptrunner, adding the Behaviour and setting the Condition for a particular Transition, is now working in Test Project as expected, when Production Project is mapped to the same behavior and kept the same condition for a particular transition. it is now working in every Transition!
1) Both Test and Production Projects are in the Same Instance.
2) We need Only Particular Transitions. For Ex: ( Accomplish and Fixed )
3) Behaving as expected in Test Project, not in Production Project.
4) Both Test and Production Projects are the same with Workflows, screens, fields, and issue types. we worked on one script requirement in the test project, finally, it is working as expected. then we implemented it in Production by the use of behavior Project add mapping. but it is working perfectly in test and not in production at the same time.
Unfortunately, I don't have an answer. I just wanted to report that I'm seeing the same behavior. When I use a Workflow Transition as a condition in my behavior, the behavior executes on all transitions and even just when editing the issue (outside of a transition).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.