Workflow Extensions

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
Screenshot 2024-10-27 at 16.17.39 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.

Screenshot 2024-10-27 at 16.16.19.png
Screenshot 2024-10-27 at 16.16.08.png
Screenshot 2024-10-27 at 16.15.51.png

 

 


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.

5691d2eb-ee94-4b59-bdba-2a5fd6c94acb.png

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.

Screenshot 2024-02-10 at 14.17.30.png
Screenshot 2024-02-10 at 14.17.53.png
Screenshot 2024-02-10 at 14.18.06.png
Screenshot 2024-02-10 at 14.18.26.png

 


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

image-20250304-094438.png

 


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)