We need to get a list active workflows with groovy scripts in their post-function
This is required to as their paths have to be modified as they will need to be moved to under - <jira home>/scripts.
Currently they are in different path & they are creating lot of warning in atlassian-jira.log as below
/secure/CommentAssignIssue.jspa [c.o.scriptrunner.runner.ScriptRunnerImpl] Add a script root for this path
To resolve this, we are required to update active workflows post-functions & move to above mentioned path.
So, we need to get list of only active workflows from all projects in Jira
Below query returns both active & inactive. Not sure if anyway to filter to retrieve active ones
select * from jiraworkflows where DESCRIPTOR like '%.groovy<%';
Any clues, appreciated.