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:
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:
Navigate to Manage Apps > JMWE > Scheduled Actions.
Event-based Actions:
Navigate to Manage Apps > JMWE > Event-based Actions.
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: Power Admin for Jira | Atlassian Marketplace
Workflow Analyzer: Workflow Analyzer for Jira | Atlassian Marketplace
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:
This 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:
Navigate to Manage Apps > JMWE > JMWE Workflow Extensions.
This new feature significantly enhances the efficiency of managing workflow customizations, especially for large Jira instances.