Workflow Extensions

 

 

Code preview - ScriptRunner source code always at hand

We know how many of you use ScriptRunner for Jira, so we have introduced the ability to quickly preview Groovy codes in all functions available in SR.

 

Since version 4.27.0, we added a new image-20241027-153557.png icon to each workflow transition view that allows you to quickly view the source code

screencapture-localhost-2990-jira-secure-admin-workflows-ViewWorkflowTransition-jspa-2024-10-27-16_00_26.png
Screenshot 2024-10-27 at 16.18.29 copy.png

 

Regardless of whether it is entered as an inline script or as a file, our mechanism will show you the entire source code in an easy and friendly way, along with syntax coloring and a hint where in the function it is used.

 

 


Quickly and easily change the order of transitions

In workflow editing, both when editing diagrams and text, you have access to quickly sorting transitions without having to set each transition sequentially.

In the new view, you will see a list of all the transitions that appear in the workflow. Just move (up/down) the transitions using the drag and drop icon.

Now press the "Update" button and “Publish” the workflow, and that's it. All the transitions will be saved and automatically arranged in the Issue view according to the order you selected.

Transition sorting is from the top to the bottom; this is reflected in the transition position from the left to the right in the Issue view.

 


Transition details when adding a function to the Workflow

Since version 3.2.0, when you add a new function to a workflow, you will always know which transaction it is being added to.

 


Remove all Workflow Conditions / Validators at once

Since version 2.16.0 you can easily remove all Workflow Conditions (all or in blocks) and Validators at once

 


Workflow Text - a refreshed view of transitions

Since version 2.5.0, the Workflow Text has a refreshed view of transitions while keeping the quick preview of transitions/screens that is favored by many. In the new view, when you hover over a transition, you'll see a quick hint about the number of items in the transition.

Since version 2.8.0, we have added the ability to quickly search for a transition


Temporarily disable/enable the Workflow Function

Since version 2.4.0, you can temporarily disable or enable any function in the workflow - this function is very helpful to investigate any issues in the workflow logic.

Since version 2.16.0, you can temporarily disable or enable all functions at once in the Conditions / Validators

 


Export the Workflow Function as a file (EJSON/JPG/PNG)

Since version 2.0.0, you can export a workflow function to a file from the transition view, from the clipboard view, and from your function library. Additionally, you can save the function as an image from the clipboard or library view.

  • Transition view - on transition view, hover over the function and press the icon

  • Clipboard view - go to Clipboard → Export

  • Library view - go to Library → Export

Example:

Function

File *.ejson

Image

Function

File *.ejson

Image

Condition

 

 

 

 


Import the Workflow Function from a file (EJSON)

Since version 2.0.0, all exported functions can be imported from a file in the transition view. To accomplish this, click Import and select where you want to import the function

 


Save the Workflow Diagram or Steps as an image (PNG/JPG)

Since version 2.0.0, you can save the Workflow Diagram or its steps as an image. (you can choose from two formats, JPG or PNG). This can be done in the workflow preview / editing view, but also on Workflow Extensions | Quick Workflow Diagram preview

 


Copy & Paste Workflow Transitions - Clipboard

Since version 2.12.0, you can copy Transitions to the clipboard and paste them into any workflow to any place (from any status to another status or create a loop)

A few extra details:

  • each administrator has his own clipboard

  • you can always see what you have on the clipboard by clicking

  • copied transition will still be on the clipboard even after restarting the application

 


Copy & Paste Workflow Functions - Clipboard

Since version 1.32.0, you can copy Conditions (one condition or grouped conditions), Validators, Post Functions and Transition Properties (since version 2.17.0) to the clipboard and paste them into any workflow to any place.

This functionality can be compared to copying and pasting from your operating system.

A few extra information:

  • each administrator has his own clipboard, exactly 4 different clipboards, separate for Conditions, Validators, Post Functions and Transition Properties

  • you can always see what you have in the clipboard by clicking

  • copied functions will still be in the clipboard even after restarting the application

 

Icons images depend on the JIRA version

Image

Functionality

Image

Functionality

 

or

 

Copy functions to the clipboard

or

 

Paste below functions from the clipboard

 


Personal Library

Since version 1.62.0, you can store functions in your private library accessible from any workflow. You can have up to 50 different functions in the library (separate for Conditions, Validators, Post Functions and Transition Properties), which will certainly make your work easier and faster. Now you will never have to search multiple workflows for the appropriate function, just add it to the library and quickly add it to the workflow

Image

Functionality

Image

Functionality

or

Add functions to the library

or

Open library

 

 


Drag & Drop Workflow Functions

Since version 1.28.0, you can sort conditions, validators and post functions with drag & drop

(click and hold the icon

, drag, and drop into a new position)

 


Clone Workflow Functions

How much time did you have to click and configure more complicated functions that perform the same action as the previous one with a small difference?

Since version 1.31.0, you can clone any of the workflow functions (conditions, validators and post functions). The cloned function will appear behind the original function with the same configuration

Icons images depend on the JIRA version

Image

Functionality

Image

Functionality

or

Clone functions

 


Search & Filter Workflow Functions

Since v. 1.28.0, it is now possible to filter for conditions, validators and post functions. The items can be dynamically filtered by name, description or ID.

 


Workflow Plugin Information

Since v. 2.0.0, on the screen for adding functions to the workflow, you will find out which plugin added a specific function (you will see a new App column)

 


Favorite Workflow Functions

Since v. 1.30.0, each administrator can add workflow functions to his favorites. The list of favorite functions is individual for each user, and the added features will be displayed first from the top.

 


Choose the Workflow Function with one click

Since v. 1.34.0, each administrator can add any function with one click. You will no longer have to choose a function and confirm with an additional button, do it with one click!


Hint on the origin of the function

Since v. 1.70.0, on the screen for adding any condition, validator or post function, you will see a hint indicating which plugin the given function comes from.

 


Rename any Workflow - even active

Since v. 1.37.*, you can rename any Workflow in Jira, even ACTIVE, yes, ACTIVE 

Some additional information about renaming:

  • Draft for the active workflow will be discarded

  • Rename the active workflow generate copy for workflow

 

 


Quick Workflow Diagram preview

On the Workflow page list you can use a magnifier to quick preview the Workflow diagram 

 


Quick Transition / Status preview

A quick preview of transition conditions, validators, post functions and screen added to the Workflow view (Diagram and Text view)

Diagram

Text

Diagram

Text

 

 

 

 


Sort columns on administrative pages

On almost all administrative pages, you can sort any columns in the configuration tables

 

 


Availability

Available since v. 1.28.0

  • Drag & Drop Workflow Functions

  • Search & Filter Workflow Functions

Available since v. 1.30.0

  • Favorite Workflow Functions

Available since v. 1.31.0

  • Clone Workflow Functions

Available since v. 1.32.0

  • Copy & Paste Workflow Functions - Clipboard

Available since v. 1.34.0

  • Choose the Workflow Function with one click

Available since v. 1.37.0

  • Rename any Workflow - even active

Available since v. 1.44.0

  • Quick Workflow Diagram preview

  • Sort columns on administrative pages

Available since v. 1.47.0

  • Quick Transition Functions preview

Available since v. 1.49.0

  • Pasting between environments and instances

Available since v. 2.0.0

  • Export the Workflow Function as a file (EJSON/JPG/PNG)

  • Import the Workflow Function from a file (EJSON)

  • Save the Workflow Diagram/Steps as an image (PNG/JPG)


Working With Workflows - Atlassian Documentation

For information on how to configure a check for a workflow transition in JIRA, see the JIRA documentation.