Query the database to find where JMWE is used

SMAtlassianMber
Contributor
July 30, 2018

Is there a quick way using microsoft sql server to find out where JWME is used in active workflows? I would like to avoid searching inside each workflow XML individually.

1 answer

0 votes
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 30, 2018

Sure, just use the following two SQL queries:

select workflowname from jiradb.jiraworkflows where DESCRIPTOR like '%jmwe%';
select PARENTNAME from jiradb.jiradraftworkflows where DESCRIPTOR like '%jmwe%';
SMAtlassianMber
Contributor
July 30, 2018

That worked perfectly. But Is there a way pull just those post functions or validators for each workflow without manually sorting through the descriptor? 

David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 30, 2018

Not from SQL I'm afraid.

However, you could do the same search in the entities.xml file inside a Jira backup (ZIP) file. This will make it much easier to see the actual JMWE extension definitions.

SMAtlassianMber
Contributor
July 31, 2018

Sound good. I will use the zip file. Thank you for the suggestions. 

Suggest an answer

Log in or Sign up to answer