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

...

task of closing multiple

...

subtasks under a parent issue.

Use case: Automatically close all sub-tasks once the parent issue is closed by using a JSU post-function.

Step 1:

Under the Transitions column, select “Done (21)”.

JSU for JIra Cloud - edit transitionImage Removed

Step 2:

Switch to the post functions tab and on its upper right corner, click on “Add post function”.

JSU for Jira Cloud - add post functionImage Removed

Step 3:

...

Step 1: Navigate to our project workflow and create a draft

Click Edit to create draft version.

Image Added

Step 2: 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 to display the list of available post functions

We select the Post Functions tab, then select Add post function.

Image Added

Step 4: Select the Linked Transition (JSU) post function

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

...

Image Added

Step

...

5:

...

Configure the

...

post function

We want to transition all subtask to the new transition.

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

Image Added

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

...

subtasks are moved to

Status
colourGreen
titledone
.

Image Added

c) Finally, click Add at the bottom of the page.

...

JSU for Jira Cloud - configure Linked transition post functionImage Removed

JSU for Jira Cloud - configure Linked transition post functionImage Removed

JSU for Jira Cloud - publish post functionImage Removed

Step 5:

...

Step 6: Publish the workflow

Image Added

Test the workflow rule

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

  1. We set up an issue and create

...

  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 refresh your browser to see the changes.

Multimedia
namelined-transition-close-subtasks.mov
width511

Liked it? Check on more post-functions, validators and conditions use cases...

/wiki/spaces/JSUCLOUD/pages/27801900

...

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 for configuring the different parameters for our post functions.