Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,429
Community Members
 
Community Events
168
Community Groups

JSU Automation - list workflows where it has been used

Hi

 

Is there a way to get a list of all the workflows which have used JSU automation and which function it used ?

 

Similar to scriptrunner admin where you can see in which workflows scripts have been added.

2 answers

2 accepted

2 votes
Answer accepted

Hi @Sue 

 

I don't know if JSU have something like scriptrunner.

You can achieve this by searching it in db. Workflows are stored in db in xml format. You can easily search by looking tags:

  • <arg name="jsuWorkflowParamsVersion-textValue"> - appear in conditions, validators and post-functions
  • <arg name="class.name">com.googlecode.jsu.workflow.condition.ValueFieldCondition</arg> - for conditions
  • <arg name="class.name">com.googlecode.jsu.workflow.validator.FieldsRequiredValidator</arg> - for validators
  • <arg name="class.name">com.googlecode.jsu.workflow.function.UpdateIssueCustomFieldPostFunction</arg> - for post functions

Regards,

Seba

Many thanks Sebastian. I suspected as much... thanks for confirming.

0 votes
Answer accepted

Blatant plug from an Adaptavist here - but I don't feel too bad about it as the app is $10 for all sizes of Jira install, and you can always use a trial licence and throw it away later.  It's not going to make a significant difference to my bonus if you don't buy it ;-)

https://marketplace.atlassian.com/apps/1225065/microscope-power-audit-for-jira-admins?hosting=datacenter&tab=overview

has three reports, one of which is "what (not core Jira) classes are used in workflow functions" - it's effectively a list of all the usage of an app in all your workflows.

I didn't know that. I need to check it ;)

Installed a trial version on our Test environment, very nice.

At only $10 per year, nice utility to have.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS

Atlassian Community Events