This article explains how to get the JMWE usage on a Jira Server/Data Center instance.
SQL Query for Identifying Workflows with JMWE Configurations
To identify the workflows that utilize JMWE configurations, you can execute the following SQL query:
SELECT workflowname FROM "jiraworkflows" WHERE descriptor LIKE '%com.innovalog.jmwe%'
This query returns the list of workflows that contain JMWE configurations.
Counting JMWE Configurations in Workflows
To retrieve the number of instances of JMWE configurations in each workflow, you will need to export the workflows as XML and count the occurrences of "com.innovalog.jmwe". Here are the steps:
Log in as a Jira administrator
Export Workflows as XML:
Go to Jira Administration > System > Import & Export > Backup System.
Select the option to export the system to XML.
Unzip and Search the XML File:
Unzip the downloaded backup file.
Open the
entities.xml
file.Search for the term
com.innovalog.jmwe
.
This will show you all instances of JMWE workflow conditions, validators, and post-functions.
Viewing Scheduled and Event-based Actions
JMWE provides dedicated pages for viewing Scheduled Actions and Event-based Actions directly in the Jira UI:
Scheduled Actions:
Log in as a Jira administrator and navigate to Manage Apps > JMWE > Scheduled Actions.
Event-based Actions:
Log in as a Jira administrator and navigate to Manage Apps > JMWE > Event-based Actions.
Shared Extensions:
Log in as a Jira administrator and navigate to Manage Apps > JMWE > Shared Extensions
Shared Groovy Scripts:
Log in as a Jira administrator and navigate to Manage Apps > JMWE > Shared Groovy Scripts
These pages display all the configured actions, making it easy to manage and review them.
Using Third-party Tools
Alternatively, you can use third-party tools such as “Power Admin” or “Workflow Analyzer” to filter workflow extensions by the app:
Power Admin: https://marketplace.atlassian.com/apps/1219634/power-admin?tab=overview&hosting=server
Workflow Analyzer: https://marketplace.atlassian.com/apps/1216732/workflow-analyzer-for-jira?hosting=server&tab=overview
These tools can help in identifying and managing JMWE configurations across your Jira instance.
JMWE Workflow Extensions Page (Version 8.3.0 and Above)
Starting from JMWE version 8.3.0, a new page has been added to the JMWE Administration section:
JMWE Workflow Extensions Page:
JMWE Workflow Extensions page lists all JMWE extensions (Conditions, Validators, Post-functions) on a single page.
It simplifies the process of managing your workflow customizations by providing a centralized view.
To access this page:
Log in as a Jira administrator and navigate to Manage Apps > JMWE > JMWE Workflow Extensions.
This new feature significantly enhances the efficiency of managing workflow customizations, especially for large Jira instances.