I have a number of custom workflows each with unique status, except they all have a common status "Canceled".
When transitioning to "Canceled" I have a Behavior that makes a text box required on the transition screen. It's simple enough to set it up for 1 workflow, but I need to have the same Behaviour for about 5 other workflows.
Is there a way I can just use 1 Behaviour but have it mapped to multiple workflows that using the same custom field? Or is the only way to do it is create 5 separate Behaviours and map to each individual workflow?
You would have to create 5 separate behaviours since the behaviour is using the specific workflow as a guide.
@Tim Perrault thanks for the quick response.
but dang. it would be a nice feature if it could!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Honestly for something like this, I like to use the Field(s) required validator on the workflow step itself. That way I don't have to go back and forth to the behaviour screen when something in the workflow messes up.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Diana Gorv ,
Thanks for connecting to Atlassian Community.
You can create one behavior and map it to the Project and Issuetype combination. Here is the URL for script runner behavior
{baseUrl}/plugins/servlet/scriptrunner/admin/behaviours
It will be a tricky one, but it will help you to make it at one place.
Thanks !!
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.