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.





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

Select to Post Functions tab then click “Add post function”.

JSU for Jira Cloud - add post function



Step 3: Select the Post Function

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

JSU for Jira Cloud - Choose post function



Step 4: Configure the 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.
  • Finally, click “Add” at the bottom of the page.

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 6: Test

Once you’ve published your workflow, 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!

Don't forget to click Reload in your browser to see the changes.

Multimedia
namelined-transition-close-subtasks.mov
width511