Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This is the documentation for JSU for Jira Cloud. If you are using JSU for Jira Server or Data Center, see our Server/Data Center documention.

...

This sample scenario shows you how simple it is to add a JSU automation rule to your workflow. 

Have you ever forgotten to close your sub-tasks before you close an issue?

Let’s see how we use JSU to automate the laborious task of closing multiple sub-tasks subtasks under a parent issue.

Step 1:

First we navigate

Navigate to our project workflow and

switch to Edit mode

Here, we are adding a post function to the “Done (21)” transition.

Image Removed

create a draft

Click Edit to create draft version.

Image Added

Step 2:

Switch to Text view and select the required transition

Here we select the Done transition.

Image Removed

Select the transition that we want to trigger the post function

Here, we switch to Text view and then select the ‘Done’ transition.

Image Added

Step 3: Select Add Post Function

Select

to display the list of available post functions

We select the Post Functions tab, then

click

select Add post function.

Image Removed
Image Added

Step 4: Select the

Post Function then click

Linked Transition (JSU) post function

We select Linked Transition (JSU), then select Add at the bottom of the page

Here, we select “Linked transition (JSU)”

.

Image Removed
Image Added

Step 5: Configure the

Post FunctionParameters:

post function

We want to transition all subtask to the new transition.

a)

For issue type, we select

Select Parent/

Sub-task

Subtask then select The subtask(s) of a parent.

This means that we want to transition all subtasks to the new transition. Image Removed

Image Added

b) Select the project workflow and the transition “Done (21)“ to ensure all

sub-tasks would move to Done.
Image Removed

subtasks are moved to

Status
colourGreen
titledone
.

Image Added

c) Finally,

we

click Add at the bottom of the page.

Step 6: Publish the

Workflow

workflow

Image Removed
Image Added

Test

it out

the workflow rule

Once

you’ve published your

we publish the workflow, we want to test the outcome.

  1. We set up an issue and create

as many sub-tasks as you want in your new project. Transition the issue to “Done” then see JSU in action as it automatically moves all sub-task statuses to Done!
  1. multiple subtasks in our test project.

  2. We transition the parent issue to

    Status
    colourGreen
    titledone
    then watch JSU move all subtask statuses to
    Status
    colourGreen
    titledone
    automatically.

Info

Don't forget to

click Reload in

click refresh your browser to see the changes.

Multimedia
namelined-transition-close-subtasks.mov
width511

You can learn more about how JSU can improve your workflows but following the step-by-step instructions in our Use Cases. Our Configuration Guide provides details of how to implement for configuring the different parameters for our post functions.

...