I added a condition to a transition using the custom script condition option [ScriptRunner], but the transition is still available on the issue screen.
The script is returning faIse but the transition still shows up. What could be causing this problem?
If the "Custom Script Condition" is used, the script needs to return the passesCondition to validate the transition.
Hello @carlos andrade
Do you have more than one transition going to that status?
Can you show us the image for the workflow?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you share with us the diagram for your workflow so that we can confirm that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is very strange. If instead of selecting "Custom script condition [ScriptRunner]", I select "Simple scripted condition [ScriptRunner]", the same script works as it should.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.