Versions Compared

Key

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

This sample scenario shows you how simple it is to add automation to your existing workflow.


Panel
bgColorgarrison
titleHave you ever forgotten to close your sub-tasks before you close an issue?

Let’s see how JSU can help you automate the laborious task of closing multiple sub-tasks 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

Step 1: In Edit mode, select the transition

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

JSU for JIra Cloud - edit transition



Step 2: Click Add Post Function

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

JSU for Jira Cloud - add post function



Step 3:

Select the

post-function

Post Function

Select  “Linked transition (JSU)” and then click on “Add” at the bottom of the page.

JSU for Jira Cloud - Choose post function



Step 4:

Configure the

parameters

Post Function

Parameters:

  • On the “Trigger transition on all issues related as” parameter, choose “Parent/Sub-task”. On the drop down menu, make sure it says “All sub-tasks (issue in Transition must be parent)”.
  • On the “Transition” drop-down menu, select your project and the transition “Done (21)“ to ensure all sub-tasks would turn to Done.
  • For this transition, leave the resolution status empty.
  • Finally, click “Add” at the bottom of the page.
  • Remember, it is important to click on the “Publish draft”  button before you move on.

JSU for Jira Cloud - configure Linked transition post function


JSU for Jira Cloud - configure Linked transition post function



Step 5: Publish your Workflow

JSU for Jira Cloud - publish post function

Step

5

6: Test

Once you’ve published  published your workflow, set - up an issue and create as many sub-tasks as you want , in your new project. Click on Transition the issue to “Done” button and then see JSU in action as it automatically turns moves all sub-task statuses to Done!

Don't forget to click on click Reload in 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...