We have lot if custom workflows and at many places we are using custom groovy script for postfunction or condition or validation. As of now we have complete path hardcoded in the workflow.
Now we would like to change the groovy script file path. Since there are more than 70 places where we need to do that, is there a convenient way to do that?
May be by using some SQL script?
You can write some code to bulk update all your workflows, but it's a bit hairy and I don't have a sample to hand.
You could shut JIRA down, dump the jiraworkflows and jiradraftworks tables using your database tools, do a find and replace and then import them. Make sure you practice on a staging instance first though.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline 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.