Skip to end of banner
Go to start of banner

Identifying the usage of JMWE Configurations in Jira DataCenter

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

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 Configurations

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:

  1. Log in as a Jira administrator

  2. Export Workflows as XML:

    • Go to Jira Administration > System > Import & Export > Backup System.

    • Select the option to export the system to XML.

  3. 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:

  1. Scheduled Actions:

    • Log in as a Jira administrator and navigate to Manage Apps > JMWE > Scheduled Actions.

  2. Event-based Actions:

    • Log in as a Jira administrator and navigate to Manage Apps > JMWE > Event-based Actions.

  3. Shared Extensions:

  • Log in as a Jira administrator and navigate to Manage Apps > JMWE > Shared Extensions

  1. 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:

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.

  • No labels