Versions Compared

Key

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

Have 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 “Done (21)”.

JSU for JIra Cloud - edit transition



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 function



Step 3:

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

JSU for Jira Cloud - Choose post function



Step 4:

Configure the 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


JSU for Jira Cloud - publish post function




Step 5:

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

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