I have a standard validator (one scriptrunner script) that I want to apply to multiple workflow transitions across 100s of projects. Too many to do manually and I cannot share the workflow as one issuetype the project admins may modify for their project (other controls built to manage that).
I have build a script that given a project it
1. loops issue types (IssueTypeSchemeManager.getIssueTypesForProject)
2. retrieves the workflows (WorkflowManager.getWorkflow(thisPROJECT.id, it.id) and
3. loops actions, validators and args
theWORKFLOW.getAllActions().each { it.getValidators().each { it.getArgs().each { it.getKey()
My hunch is the name of the script is buried somewhere in args key FIELD_FUNCTION_ID or FIELD_CONDITION value using the hashCode but since Jira uses com.opensymphony.workflow I'm stuck there.
I am hoping once I can find one that has been manually set, I can decrypt and then re-encrypt and assign to other workflows.
Any suggestions? Not finding much out there about com.opensymphony.workflow.
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.