Identifying the usage of JMWE extensions in Jira DataCenter
This article explains how to determine the usage of JMWE extensions on a Jira Server/Data Center instance.
SQL Query for Identifying Workflows with JMWE extensions:
To identify the workflows that utilize JMWE extensions, 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 extensions.
Counting JMWE Extensions in Workflows
To retrieve the number of instances of JMWE extensions in each workflow, you will need to export the workflows as XML and count the occurrences of "com.innovalog.jmwe" within that XML file. 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 the Export File 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 Actions, Event-based Actions, Shared Extensions and Shared Groovy Scripts
JMWE provides dedicated pages for viewing Scheduled Actions, Event-based Actions, Shared Extensions, and Shared Groovy Scripts 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: 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 with 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.